aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sip.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-07-31 18:14:02 +0000
committerGuy Harris <guy@alum.mit.edu>2003-07-31 18:14:02 +0000
commit2808683c782c6c51fb47a05036d061c0b3bf7b07 (patch)
treec8f6479a87c7fedbb14852d7fc4851b55150f28f /packet-sip.c
parent275c1a3a7e101ece96af9f86f9455bb807256acf (diff)
downloadwireshark-2808683c782c6c51fb47a05036d061c0b3bf7b07.tar.gz
wireshark-2808683c782c6c51fb47a05036d061c0b3bf7b07.tar.bz2
wireshark-2808683c782c6c51fb47a05036d061c0b3bf7b07.zip
From Ruud Linders:
"UPDATE" is now a valid sip method; register the SIP decoder so it can be called from other protocols (i.e. SCTP). svn path=/trunk/; revision=8115
Diffstat (limited to 'packet-sip.c')
-rw-r--r--packet-sip.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/packet-sip.c b/packet-sip.c
index fac7985964..82f17b14a9 100644
--- a/packet-sip.c
+++ b/packet-sip.c
@@ -17,7 +17,7 @@
* Copyright 2000, Heikki Vatiainen <hessu@cs.tut.fi>
* Copyright 2001, Jean-Francois Mule <jfm@cablelabs.com>
*
- * $Id: packet-sip.c,v 1.39 2003/06/12 08:33:29 guy Exp $
+ * $Id: packet-sip.c,v 1.40 2003/07/31 18:14:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -82,7 +82,8 @@ static const char *sip_methods[] = {
"REFER",
"REGISTER",
"SPRACK",
- "SUBSCRIBE"
+ "SUBSCRIBE",
+ "UPDATE"
};
/* from RFC 3261 */
@@ -954,6 +955,9 @@ void proto_register_sip(void)
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_sip, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+
+ /* Register the dissector so it can be called from other protocols */
+ register_dissector("sip", dissect_sip, proto_sip);
}
void