forked from osmocom/wireshark
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>
This commit is contained in:
parent
67385b184c
commit
dc2645217e
4
tshark.c
4
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue