aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'randpkt.c')
-rw-r--r--randpkt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/randpkt.c b/randpkt.c
index 4f90231a9d..854e5c6bc2 100644
--- a/randpkt.c
+++ b/randpkt.c
@@ -132,7 +132,8 @@ main(int argc, char **argv)
* Get credential information for later use.
*/
init_process_policies();
- init_open_routines();
+
+ wtap_init();
cmdarg_err_init(failure_message, failure_message_cont);
@@ -147,9 +148,6 @@ main(int argc, char **argv)
g_warning("randpkt: 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;