aboutsummaryrefslogtreecommitdiffstats
path: root/packet-yhoo.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-12-17 23:17:34 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-12-17 23:17:34 +0000
commitb12ad24dfc31354b174ef1c1baf9d5ecc0789182 (patch)
tree2f0338c8c7fb33e02467da58b1e60bfd544d2bef /packet-yhoo.c
parent3704fb7631fc0f35ed58b8c6388721033dd9a4f7 (diff)
Get rid of calls to "proto_is_protocol_enabled()" in heuristic
dissectors - the infrastructure for calling heuristic dissectors won't call a heuristic dissector for a protocol if the protocol isn't enabled, so there's no need for the dissector itself to check that. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4419 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-yhoo.c')
-rw-r--r--packet-yhoo.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/packet-yhoo.c b/packet-yhoo.c
index dacde6bd47..a421c37fdf 100644
--- a/packet-yhoo.c
+++ b/packet-yhoo.c
@@ -2,7 +2,7 @@
* Routines for yahoo messenger packet dissection
* Copyright 1999, Nathan Neulinger <nneul@umr.edu>
*
- * $Id: packet-yhoo.c,v 1.19 2001/12/10 00:25:41 guy Exp $
+ * $Id: packet-yhoo.c,v 1.20 2001/12/17 23:17:34 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -111,10 +111,6 @@ dissect_yhoo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int offset = 0;
int length = 0;
- if (!proto_is_protocol_enabled(proto_yhoo)) {
- return FALSE;
- }
-
if (pinfo->srcport != TCP_PORT_YHOO && pinfo->destport != TCP_PORT_YHOO) {
/* Not the Yahoo port - not a Yahoo Messenger packet. */
return FALSE;