summaryrefslogtreecommitdiff
path: root/dftest.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-02-08 22:31:11 -0500
committerMichael Mann <mmann78@netscape.net>2017-02-09 13:43:17 +0000
commit80e8f7dd801a1240635231bf4237ed5752a537f9 (patch)
treece70709c6c53238a95d8533689d26be6b8559f64 /dftest.c
parent520a1b20660f6ce071d8b4e535f12c93a5699d6f (diff)
downloadwireshark-80e8f7dd801a1240635231bf4237ed5752a537f9.tar.gz
Add wtap_init to dftest.
Bug: 13387 Change-Id: I7dfae550f814cdc15924357996e2086eea58ecf4 Reviewed-on: https://code.wireshark.org/review/20026 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
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,