diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-20 09:10:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-20 09:10:16 +0000 |
commit | 80722d15cf1d313563fb4f0303151866f1f1b575 (patch) | |
tree | 99e5135f8de72ea778121258b0bc17e39a4ac636 /packet-wtp.c | |
parent | 93265f73d2b6950b4be4211db32d3f6ccfce9586 (diff) | |
download | wireshark-80722d15cf1d313563fb4f0303151866f1f1b575.tar.gz wireshark-80722d15cf1d313563fb4f0303151866f1f1b575.tar.bz2 wireshark-80722d15cf1d313563fb4f0303151866f1f1b575.zip |
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-wtp.c')
-rw-r--r-- | packet-wtp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-wtp.c b/packet-wtp.c index 334778365b..f287beaebc 100644 --- a/packet-wtp.c +++ b/packet-wtp.c @@ -2,7 +2,7 @@ * * Routines to dissect WTP component of WAP traffic. * - * $Id: packet-wtp.c,v 1.16 2001/07/20 04:39:07 guy Exp $ + * $Id: packet-wtp.c,v 1.17 2001/07/20 09:10:16 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -661,9 +661,10 @@ void proto_reg_handoff_wtp(void) { /* - * Get a handle for the IP WSP dissector - if WTP PDUs have data, it is WSP + * Get a handle for the connection-oriented WSP dissector - if WTP + * PDUs have data, it is WSP. */ - wsp_handle = find_dissector("wsp"); + wsp_handle = find_dissector("wsp-co"); dissector_add("udp.port", UDP_PORT_WTP_WSP, dissect_wtp_fromudp, proto_wtp); |