aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-04-05 19:25:16 +0000
committerGuy Harris <guy@alum.mit.edu>2001-04-05 19:25:16 +0000
commit00be3b8f13cad268876b733f6fb5d1b13e6edb97 (patch)
treef2d50bd1fd4808b6f0caae09a23c160f7de40af5 /epan/proto.c
parent9fc1e0261bb641839409e340749e148d9a5bc6d2 (diff)
Don't call "register_all_plugin_handoffs()" if we don't have plugin
support. svn path=/trunk/; revision=3262
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index e1e33677d8..9fe6b83999 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -1,7 +1,7 @@
/* proto.c
* Routines for protocol tree
*
- * $Id: proto.c,v 1.19 2001/04/02 00:38:34 hagbard Exp $
+ * $Id: proto.c,v 1.20 2001/04/05 19:25:16 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -220,8 +220,10 @@ proto_init(const char *plugin_dir,void (register_all_protocols)(void),
they need. */
register_all_protocol_handoffs();
+#ifdef HAVE_PLUGINS
/* Now do the same with plugins. */
register_all_plugin_handoffs();
+#endif
/* Register one special-case FT_TEXT_ONLY field for use when
converting ethereal to new-style proto_tree. These fields