diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-20 09:10:16 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-20 09:10:16 +0000 |
commit | 966784d7ab040b29928a357541941ac0b694eb8e (patch) | |
tree | 99e5135f8de72ea778121258b0bc17e39a4ac636 /packet-wtp.c | |
parent | 81b2a1982bc11ed635183a49eddd53db82f86a4a (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3750 f5534014-38df-0310-8fa8-9805f1628bb7
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); |