aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index 3df60d4dd5..af38ab0702 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1196,8 +1196,14 @@ main(int argc, char *argv[])
init_open_routines();
#ifdef HAVE_PLUGINS
+ /* Register all the plugin types we have. */
+ epan_register_plugin_types(); /* Types known to libwireshark */
wtap_register_plugin_types(); /* Types known to libwiretap */
+ /* Scan for plugins. This does *not* call their registration routines;
+ that's done later. */
+ scan_plugins();
+
/* Register all libwiretap plugin modules. */
register_all_wiretap_modules();
#endif