aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wtls.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-03 09:53:22 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-03 09:53:22 +0000
commitc4bd63678ca9d45e16ecd0e5c6c03938b9c05a93 (patch)
tree6770872ad310e90dc07714e3d7abf3d0097273a3 /packet-wtls.c
parentb1156c9e32a268430200570f12994aacec0a1d03 (diff)
Don't base the protocol column setting in the WSP and WTP dissectors on
the port - instead, base it on whether the dissector was called directly from UDP or called from another WAP dissector. That way, if you explicitly say "decode this as WTP" because there was a redirection (or if, in the future, the WSP dissector handles redirections for you, although that won't handle the case of a capture where the redirection wasn't captured), the column doesn't say "UDP", it says the right thing. Don't register the WTLS dissector by name - nobody calls it through a handle. Register the WTP dissector by name, as the WTLS dissector tries to get a handle for it - although it doesn't actually call it, or the WSP dissector, through a handle. svn path=/trunk/; revision=3647
Diffstat (limited to 'packet-wtls.c')
-rw-r--r--packet-wtls.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-wtls.c b/packet-wtls.c
index f9f5d230f9..308762d4c1 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.9 2001/06/18 02:17:54 guy Exp $
+ * $Id: packet-wtls.c,v 1.10 2001/07/03 09:53:22 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1631,8 +1631,6 @@ proto_register_wtls(void)
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_wtls, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
-
- register_dissector("wtls", dissect_wtls, proto_wtls);
}
void