forked from osmocom/wireshark
Make sure that plugin tap listeners get registered before the non-plugin tap listeners
that's because stat trees are registered as tap listeners by either gtk/stats_tree_stat.c or tap-stats_tree.c svn path=/trunk/; revision=13545
This commit is contained in:
parent
693f9f3838
commit
5319cabe88
|
@ -1629,8 +1629,12 @@ main(int argc, char *argv[])
|
|||
|
||||
/* Register all tap listeners; we do this before we parse the arguments,
|
||||
as the "-z" argument can specify a registered tap. */
|
||||
register_all_tap_listeners();
|
||||
|
||||
/* 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();
|
||||
|
||||
splash_update(splash_win, "Loading module preferences ...");
|
||||
|
||||
|
|
|
@ -699,8 +699,12 @@ main(int argc, char *argv[])
|
|||
|
||||
/* Register all tap listeners; we do this before we parse the arguments,
|
||||
as the "-z" argument can specify a registered tap. */
|
||||
register_all_tap_listeners();
|
||||
|
||||
/* 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();
|
||||
|
||||
/* Now register the preferences for any non-dissector modules.
|
||||
We must do that before we read the preferences as well. */
|
||||
|
|
Loading…
Reference in New Issue