aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd.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 /sharkd.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 'sharkd.c')
-rw-r--r--sharkd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sharkd.c b/sharkd.c
index 66fd41b8f1..569bfc7681 100644
--- a/sharkd.c
+++ b/sharkd.c
@@ -167,7 +167,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)) {
ret = EPAN_INIT_FAIL;
goto clean_exit;
}