diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-03 20:39:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-03 20:39:58 +0000 |
commit | 53c2c2342f279e545fbe5bc1f1fe1c37cb29b3f2 (patch) | |
tree | 7c284db8f67be13fe71b111ca2728ee9127c37a6 /packet-sip.c | |
parent | 929e54fa44ccde5a2dbaa96894ef00a57c2b5055 (diff) | |
download | wireshark-53c2c2342f279e545fbe5bc1f1fe1c37cb29b3f2.tar.gz wireshark-53c2c2342f279e545fbe5bc1f1fe1c37cb29b3f2.tar.bz2 wireshark-53c2c2342f279e545fbe5bc1f1fe1c37cb29b3f2.zip |
Handle the media type "message/sip".
svn path=/trunk/; revision=9973
Diffstat (limited to 'packet-sip.c')
-rw-r--r-- | packet-sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-sip.c b/packet-sip.c index 2ad0437adf..4940af4af8 100644 --- a/packet-sip.c +++ b/packet-sip.c @@ -18,7 +18,7 @@ * Copyright 2000, Heikki Vatiainen <hessu@cs.tut.fi> * Copyright 2001, Jean-Francois Mule <jfm@cablelabs.com> * - * $Id: packet-sip.c,v 1.57 2004/01/19 23:48:05 guy Exp $ + * $Id: packet-sip.c,v 1.58 2004/02/03 20:39:58 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1495,6 +1495,7 @@ proto_reg_handoff_sip(void) sip_handle = new_create_dissector_handle(dissect_sip, proto_sip); dissector_add("udp.port", UDP_PORT_SIP, sip_handle); + dissector_add_string("media_type", "message/sip", sip_handle); sip_tcp_handle = create_dissector_handle(dissect_sip_tcp, proto_sip); dissector_add("tcp.port", TCP_PORT_SIP, sip_tcp_handle); @@ -1502,5 +1503,4 @@ proto_reg_handoff_sip(void) heur_dissector_add("udp", dissect_sip_heur, proto_sip); heur_dissector_add("tcp", dissect_sip_heur, proto_sip); heur_dissector_add("sctp", dissect_sip_heur, proto_sip); - } |