From fc9af81a13ec53ca15cbd28ce1896d407ab2bf8a Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Tue, 9 Jan 2018 09:55:37 +0100 Subject: 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 Petri-Dish: Dario Lombardo Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- tfshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tfshark.c') diff --git a/tfshark.c b/tfshark.c index 2b4f9e9785..bb522b04b8 100644 --- a/tfshark.c +++ b/tfshark.c @@ -487,7 +487,7 @@ main(int argc, 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 -- cgit v1.2.3