diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-01-09 09:55:37 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-01-09 21:25:06 +0000 |
commit | fc9af81a13ec53ca15cbd28ce1896d407ab2bf8a (patch) | |
tree | 30ff801215a7f4b8133aa83e65fe22e98fb3fe90 /tools/oss-fuzzshark | |
parent | a7e29d8b66dd7c1cb691966938404dafc6b89689 (diff) |
wiretap: add a parameter to wtap_init() indicating whether plugins must be loaded
g995812c5f1 moved wiretap plugins registration from applications to
wiretap library init function.
As we do not want to load plugins for all users of libwiretap, let's
make it configurable.
Bug: 14314
Change-Id: Id8fdcc484e2d0d31d3ab0bd357d3a6678570f700
Reviewed-on: https://code.wireshark.org/review/25194
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools/oss-fuzzshark')
-rw-r--r-- | tools/oss-fuzzshark/fuzzshark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/oss-fuzzshark/fuzzshark.c b/tools/oss-fuzzshark/fuzzshark.c index 53560d9ef9..a700d5f039 100644 --- a/tools/oss-fuzzshark/fuzzshark.c +++ b/tools/oss-fuzzshark/fuzzshark.c @@ -219,7 +219,7 @@ fuzz_init(int argc _U_, char **argv) timestamp_set_precision(TS_PREC_AUTO); timestamp_set_seconds_type(TS_SECONDS_DEFAULT); - wtap_init(); + wtap_init(TRUE); /* Register all dissectors; we must do this before checking for the "-G" flag, as the "-G" flag dumps information registered by the |