aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-rpc.c')
-rw-r--r--packet-rpc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-rpc.c b/packet-rpc.c
index d9988a8626..411e930f2c 100644
--- a/packet-rpc.c
+++ b/packet-rpc.c
@@ -2,7 +2,7 @@
* Routines for rpc dissection
* Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de>
*
- * $Id: packet-rpc.c,v 1.35 2000/08/08 06:19:51 girlich Exp $
+ * $Id: packet-rpc.c,v 1.36 2000/08/13 14:07:54 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1042,6 +1042,9 @@ dissect_rpc( const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
dissect_function_t *dissect_function = NULL;
+ if (!proto_is_protocol_enabled(proto_rpc))
+ return FALSE;
+
/* TCP uses record marking */
use_rm = (pi.ptype == PT_TCP);