diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-12-04 14:20:37 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-12-04 22:21:06 +0000 |
commit | bded2b681485fe9a91041688bcb41d371c9099e8 (patch) | |
tree | 61702f4fa10261646bcf5cfd44d714f15b801e9a /rawshark.c | |
parent | ab07f8e0f89eb1bb2c2c61c71e44e3fd0e31cc52 (diff) |
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 <guy@alum.mit.edu>
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 2 |
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 |