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,