make tethereal compile when plugins are disabled

svn path=/trunk/; revision=14319
This commit is contained in:
Ronnie Sahlberg 2005-05-05 13:48:34 +00:00
parent 0c8fb767d1
commit 1a647a2c6a
1 changed files with 2 additions and 0 deletions

View File

@ -678,7 +678,9 @@ main(int argc, char *argv[])
/* we register the plugin taps before the other taps because
stats_tree taps plugins will be registered as tap listeners
by stats_tree_stat.c and need to registered before that */
#ifdef HAVE_PLUGINS
register_all_plugin_tap_listeners();
#endif
register_all_tap_listeners();
/* Now register the preferences for any non-dissector modules.