diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2016-11-14 21:55:25 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2016-11-14 20:58:27 +0000 |
commit | dc2645217e8a87b0b6d93c054e68413d1c327eb7 (patch) | |
tree | a542fca000278d3280251c87e31e26c2e5a6c926 /tshark.c | |
parent | 67385b184cd4939a301658c813e444f8dbb97813 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |