From bded2b681485fe9a91041688bcb41d371c9099e8 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 4 Dec 2016 14:20:37 -0800 Subject: Rawshark uses libwiretap, so it has to call wtap_init(). Change-Id: I4b87227e4828ebad98b22e5e5d1f3896e636582a Reviewed-on: https://code.wireshark.org/review/19070 Reviewed-by: Guy Harris --- rawshark.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rawshark.c') 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 -- cgit v1.2.1