From Graeme Hewson:

don't try to call register_all_plugin_tap_listeners() if configured without plugins.

svn path=/trunk/; revision=13737
This commit is contained in:
Luis Ontanon 2005-03-12 21:36:24 +00:00
parent 8123288f6d
commit 3e98d671fd
1 changed files with 6 additions and 2 deletions

View File

@ -1633,9 +1633,13 @@ 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 */
register_all_plugin_tap_listeners();
register_all_tap_listeners();
#ifdef HAVE_PLUGINS
register_all_plugin_tap_listeners();
#endif
register_all_tap_listeners();
splash_update(splash_win, "Loading module preferences ...");
/* Now register the preferences for any non-dissector modules.