summaryrefslogtreecommitdiff
path: root/rawshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rawshark.c b/rawshark.c
index d4acc8af94..ed88215047 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -514,6 +514,8 @@ main(int argc, char *argv[])
timestamp_set_precision(TS_PREC_AUTO);
timestamp_set_seconds_type(TS_SECONDS_DEFAULT);
+ wtap_init();
+
/* Register all dissectors; we must do this before checking for the
"-G" flag, as the "-G" flag dumps information registered by the
dissectors, and we must do it before we read the preferences, in