diff options
Diffstat (limited to 'randpkt.c')
-rw-r--r-- | randpkt.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |