aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorkukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-06 06:20:50 +0000
committerkukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-06 06:20:50 +0000
commited19fe5f733024bc6f56a3340bd38a691d1d5f77 (patch)
tree783bd3a38a741fbd3c5c24d4f5f01a867fcbf97f /epan/dissectors/packet-sip.c
parente4cd26456badfdeb2d2629020bd00c0c02913816 (diff)
RFC5806 Diversion header
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36489 f5534014-38df-0310-8fa8-9805f1628bb7
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,