aboutsummaryrefslogtreecommitdiffstats
path: root/packet-h1.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-h1.c')
-rw-r--r--packet-h1.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-h1.c b/packet-h1.c
index 42534268a4..981c6063ff 100644
--- a/packet-h1.c
+++ b/packet-h1.c
@@ -2,7 +2,7 @@
* Routines for Sinec H1 packet disassembly
* Gerrit Gehnen <G.Gehnen@atrie.de>
*
- * $Id: packet-h1.c,v 1.11 2000/08/07 03:20:35 guy Exp $
+ * $Id: packet-h1.c,v 1.12 2000/08/13 14:08:11 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -114,6 +114,9 @@ static gboolean dissect_h1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
unsigned int position = 3;
unsigned int offset=0;
+ if (!proto_is_protocol_enabled(proto_h1))
+ return FALSE;
+
if (!(tvb_get_guint8(tvb,offset) == 'S' && tvb_get_guint8(tvb,offset+1) == '5')) {
return FALSE;
}