aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wtls.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-20 09:10:16 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-20 09:10:16 +0000
commit80722d15cf1d313563fb4f0303151866f1f1b575 (patch)
tree99e5135f8de72ea778121258b0bc17e39a4ac636 /packet-wtls.c
parent93265f73d2b6950b4be4211db32d3f6ccfce9586 (diff)
Don't base the WSP dissector's idea of whether it's running in
connectionless or connection-oriented mode on the server port; that won't work with redirects. Instead, base it on the protocol atop which WSP is running - atop UDP, or directly atop WTLS, it's connectionless; atop WTP, it's connection-oriented. svn path=/trunk/; revision=3750
Diffstat (limited to 'packet-wtls.c')
-rw-r--r--packet-wtls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-wtls.c b/packet-wtls.c
index 308762d4c1..f261baea54 100644
--- a/packet-wtls.c
+++ b/packet-wtls.c
@@ -2,7 +2,7 @@
*
* Routines to dissect WTLS component of WAP traffic.
*
- * $Id: packet-wtls.c,v 1.10 2001/07/03 09:53:22 guy Exp $
+ * $Id: packet-wtls.c,v 1.11 2001/07/20 09:10:16 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1637,10 +1637,10 @@ void
proto_reg_handoff_wtls(void)
{
/*
- * Get handles for the IP WTP and WSP dissectors
+ * Get handles for the WTP and connectionless WSP dissectors.
*/
wtp_handle = find_dissector("wtp");
- wsp_handle = find_dissector("wsp");
+ wsp_handle = find_dissector("wsp-cl");
dissector_add("udp.port", UDP_PORT_WTLS_WSP, dissect_wtls, proto_wtls);
dissector_add("udp.port", UDP_PORT_WTLS_WTP_WSP, dissect_wtls, proto_wtls);