diff options
-rw-r--r-- | dftest.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,6 +42,8 @@ #include <wsutil/privileges.h> #include <wsutil/report_err.h> +#include <wiretap/wtap.h> + #include "ui/util.h" #include "register.h" @@ -93,6 +95,8 @@ main(int argc, char **argv) scan_plugins(REPORT_LOAD_FAILURE); #endif + wtap_init(); + /* Register all dissectors; we must do this before checking for the "-g" flag, as the "-g" flag dumps a list of fields registered by the dissectors, and we must do it before we read the preferences, |