aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-13 05:15:50 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-13 05:15:50 +0000
commit5a216eb63d425d38cbd76a9d9e655f19b39519ad (patch)
tree0ff0f817f5486a8868098a6cb86a2a55540d7e49 /epan/dissectors/packet-sip.c
parentf1e6f48952a3b4b5d4d44232858c4350a7acd100 (diff)
From Horaci Macias:
Parse User-to-User header http://tools.ietf.org/html/draft-ietf-cuss-sip-uui-02 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6432 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39402 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 a362918023..4f20934f61 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -446,6 +446,8 @@ static const sip_header_t sip_headers[] = {
#define POS_WWW_AUTHENTICATE 104
{ "Diversion", NULL }, /* 105 RFC5806 */
#define POS_DIVERSION 105
+ { "User-to-User", NULL }, /* 106 draft-johnston-sipping-cc-uui-09 */
+#define POS_USER_TO_USER 106
};
@@ -558,6 +560,7 @@ static gint hf_header_array[] = {
-1, /* 103"Warning", RFC3261 */
-1, /* 104"WWW-Authenticate", RFC3261 */
-1, /* 105"Diversion", RFC5806 */
+ -1, /* 106"User-to-User", draft-johnston-sipping-cc-uui-09 */
};
@@ -4323,6 +4326,11 @@ void proto_register_sip(void)
FT_STRING, BASE_NONE,NULL,0x0,
"RFC 5806: Diversion Header", HFILL }
},
+ { &hf_header_array[POS_USER_TO_USER],
+ { "User-to-User", "sip.uui",
+ FT_STRING, BASE_NONE,NULL,0x0,
+ "draft-johnston-sipping-cc-uui-09: User-to-User header", HFILL }
+ },
{ &hf_sip_resend,
{ "Resent Packet", "sip.resend",
FT_BOOLEAN, BASE_NONE, NULL, 0x0,