aboutsummaryrefslogtreecommitdiffstats
path: root/tfshark.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2018-09-08 16:02:06 +0100
committerJoão Valverde <j@v6e.pt>2018-09-09 02:27:34 +0000
commitff1e16055fb21ddbf1cb06f193b0cd5622b5edef (patch)
treeb00da9a15528ef6ea1c4633c8e64a31be15ddbb4 /tfshark.c
parent6ab8d4607adccd2e5d8afe25b2be433509a98f06 (diff)
epan: Add argument to epan_init() to disable plugins
Change-Id: I8dc76e6bf8c4d5a3081cbdc1d47b88e857415d29 Reviewed-on: https://code.wireshark.org/review/29498 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'tfshark.c')
-rw-r--r--tfshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tfshark.c b/tfshark.c
index fd59dc25be..552588e92d 100644
--- a/tfshark.c
+++ b/tfshark.c
@@ -490,7 +490,7 @@ main(int argc, char *argv[])
"-G" flag, as the "-G" flag dumps information registered by the
dissectors, and we must do it before we read the preferences, in
case any dissectors register preferences. */
- if (!epan_init(NULL, NULL)) {
+ if (!epan_init(NULL, NULL, TRUE)) {
exit_status = INIT_ERROR;
goto clean_exit;
}