aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
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);
}