summaryrefslogtreecommitdiff
path: root/packet-smb-mailslot.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-smb-mailslot.c')
-rw-r--r--packet-smb-mailslot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-smb-mailslot.c b/packet-smb-mailslot.c
index ae0ccb3749..fa966e86d3 100644
--- a/packet-smb-mailslot.c
+++ b/packet-smb-mailslot.c
@@ -2,7 +2,7 @@
* Routines for smb mailslot packet dissection
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
- * $Id: packet-smb-mailslot.c,v 1.5 2000/05/31 05:07:41 guy Exp $
+ * $Id: packet-smb-mailslot.c,v 1.6 2000/08/13 14:08:49 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -71,12 +71,14 @@ dissect_mailslot_smb(const u_char *pd, int offset, frame_data *fd,
/* decode the SMB mail slot protocol */
-
proto_tree *smb_msp_tree = 0;
proto_item *ti;
guint16 Temp16;
const char *StrPtr;
+
+ if (!proto_is_protocol_enabled(proto_smb_msp))
+ return 0;
/* do the Op code field */