summaryrefslogtreecommitdiff
path: root/dftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'dftest.c')
-rw-r--r--dftest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dftest.c b/dftest.c
index 9959c6b1d8..30be24d3d5 100644
--- a/dftest.c
+++ b/dftest.c
@@ -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,