aboutsummaryrefslogtreecommitdiffstats
path: root/reordercap.c
diff options
context:
space:
mode:
Diffstat (limited to 'reordercap.c')
-rw-r--r--reordercap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/reordercap.c b/reordercap.c
index 812825c6d0..004cb158b7 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -219,7 +219,8 @@ main(int argc, char *argv[])
* Get credential information for later use.
*/
init_process_policies();
- init_open_routines();
+
+ wtap_init();
#ifdef HAVE_PLUGINS
/* Register wiretap plugins */
@@ -227,9 +228,6 @@ main(int argc, char *argv[])
g_warning("reordercap: init_progfile_dir(): %s", init_progfile_dir_error);
g_free(init_progfile_dir_error);
} else {
- /* Register all the plugin types we have. */
- wtap_register_plugin_types(); /* Types known to libwiretap */
-
init_report_err(failure_message,NULL,NULL,NULL);
/* Scan for plugins. This does *not* call their registration routines;