diff options
author | Michael Mann <mmann78@netscape.net> | 2017-02-08 22:31:11 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-02-09 13:43:17 +0000 |
commit | 80e8f7dd801a1240635231bf4237ed5752a537f9 (patch) | |
tree | ce70709c6c53238a95d8533689d26be6b8559f64 /dftest.c | |
parent | 520a1b20660f6ce071d8b4e535f12c93a5699d6f (diff) |
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.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, |