aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-28 17:40:01 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-28 17:40:01 +0000
commit184f0fad7aca941da6706c42cd6efb0b7330b15d (patch)
tree17a5ea11a67502a61910b5b6b0dc335fa216577d /epan/dissectors/packet-sip.c
parent929ac62df6911a6771657e64e44d3a0410462412 (diff)
From Martin Mathieson:
This patch adds the SIP History-Info header from RFC4244. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17429 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index 1a2ada0659..b40d5f3baa 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -214,6 +214,7 @@ static const sip_header_t sip_headers[] = {
{ "Warning", NULL }, /* 81 RFC3261 */
{ "WWW-Authenticate", NULL }, /* 82 RFC3261 */
{ "Refer-To", "r" }, /* 83 RFC3515 */
+ { "History-Info", NULL }, /* 84 RFC4244 */
};
@@ -301,6 +302,7 @@ static const sip_header_t sip_headers[] = {
#define POS_WARNING 81
#define POS_WWW_AUTHENTICATE 82
#define POS_REFER_TO 83
+#define POS_HISTORY_INFO 84
static gint hf_header_array[] = {
-1, /* 0"Unknown-header" - Pad so that the real headers start at index 1 */
@@ -387,6 +389,7 @@ static gint hf_header_array[] = {
-1, /* 81"Warning", RFC3261 */
-1, /* 82"WWW-Authenticate", RFC3261 */
-1, /* 83"Refer-To", RFC3515 */
+ -1, /* 84"History-Info", RFC4244 */
};
@@ -2669,10 +2672,15 @@ void proto_register_sip(void)
"RFC 3261: WWW-Authenticate Header", HFILL }
},
{ &hf_header_array[POS_REFER_TO],
- { "Refer-To", "sip.Refer-To",
+ { "Refer-To", "sip.Refer-To",
FT_STRING, BASE_NONE,NULL,0x0,
"Refer-To Header", HFILL }
},
+ { &hf_header_array[POS_HISTORY_INFO],
+ { "History-Info", "sip.History-Info",
+ FT_STRING, BASE_NONE,NULL,0x0,
+ "RFC 4244: Request History Information", HFILL }
+ },
{ &hf_sip_resend,
{ "Resent Packet", "sip.resend",
FT_BOOLEAN, BASE_NONE, NULL, 0x0,