aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2016-11-14 21:55:25 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2016-11-14 20:58:27 +0000
commitdc2645217e8a87b0b6d93c054e68413d1c327eb7 (patch)
treea542fca000278d3280251c87e31e26c2e5a6c926 /tshark.c
parent67385b184cd4939a301658c813e444f8dbb97813 (diff)
tshark: fix activation of heuristic dissectors by command line
Change-Id: I9499be0d0efd24ce1049513171c657795fa69250 Reviewed-on: https://code.wireshark.org/review/18823 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index d56bb6ed00..ff290c2f15 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1630,9 +1630,9 @@ main(int argc, char *argv[])
}
}
- if(global_dissect_options.disable_heur_slist) {
+ if(global_dissect_options.enable_heur_slist) {
GSList *heur_enable;
- for (heur_enable = global_dissect_options.disable_heur_slist; heur_enable != NULL; heur_enable = g_slist_next(heur_enable))
+ for (heur_enable = global_dissect_options.enable_heur_slist; heur_enable != NULL; heur_enable = g_slist_next(heur_enable))
{
proto_enable_heuristic_by_name((char*)heur_enable->data, TRUE);
}