From 80e8f7dd801a1240635231bf4237ed5752a537f9 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Wed, 8 Feb 2017 22:31:11 -0500 Subject: Add wtap_init to dftest. Bug: 13387 Change-Id: I7dfae550f814cdc15924357996e2086eea58ecf4 Reviewed-on: https://code.wireshark.org/review/20026 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- dftest.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dftest.c') diff --git a/dftest.c b/dftest.c index 9959c6b1d8..30be24d3d5 100644 --- a/dftest.c +++ b/dftest.c @@ -42,6 +42,8 @@ #include #include +#include + #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, -- cgit v1.2.1