aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2011-04-06 06:20:50 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2011-04-06 06:20:50 +0000
commit4e8c772d11bc28cb9f25005c7c355caae24b2c9a (patch)
tree783bd3a38a741fbd3c5c24d4f5f01a867fcbf97f /epan/dissectors/packet-sip.c
parentcb0e7f80da855fd806a755a9318a6af050766526 (diff)
RFC5806 Diversion header
svn path=/trunk/; revision=36489
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index f06f3b72ca..95589ab751 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -447,6 +447,8 @@ static const sip_header_t sip_headers[] = {
#define POS_WARNING 103
{ "WWW-Authenticate", NULL }, /* 99 RFC3261 */
#define POS_WWW_AUTHENTICATE 104
+ { "Diversion", NULL }, /* 105 RFC5806 */
+#define POS_DIVERSION 105
};
@@ -558,6 +560,7 @@ static gint hf_header_array[] = {
-1, /* 102"Via", RFC3261 */
-1, /* 103"Warning", RFC3261 */
-1, /* 104"WWW-Authenticate", RFC3261 */
+ -1, /* 105"Diversion", RFC5806 */
};
@@ -4309,6 +4312,11 @@ void proto_register_sip(void)
FT_STRING, BASE_NONE,NULL,0x0,
NULL, HFILL }
},
+ { &hf_header_array[POS_DIVERSION],
+ { "Diversion", "sip.Diversion",
+ FT_STRING, BASE_NONE,NULL,0x0,
+ "RFC 5806: Diversion Header", HFILL }
+ },
{ &hf_sip_resend,
{ "Resent Packet", "sip.resend",
FT_BOOLEAN, BASE_NONE, NULL, 0x0,