aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-07-05 17:31:14 -0400
committerMichael Mann <mmann78@netscape.net>2015-07-14 11:28:55 +0000
commitcdeae7e72b749cdd68207d6e97dafb67783e2de4 (patch)
tree6a9efe436eb41c2b9681a2c90917baeb51127353 /wireshark-qt.cpp
parent1d708cef72dc230f58a9ed046a6a27355d98de1c (diff)
Add a "heuristic dissectors" tab to the Enable Protocols dialog.
This allows for a global place to enable/disable all heuristic dissectors. This removes the need for individual dissector preferences, but those will be removed at a later date. The more important part is the epan code to save/restore the enabled state of the heuristic dissector. The GTK dialog was more for quickly testing the feature (there was already some GTK code in place that started the heuristic dialog tab) Change-Id: Ie10687505c27a4456c49d5c4c69a5fc5f6394275 Ping-Bug:11152 Reviewed-on: https://code.wireshark.org/review/9508 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 57bafc10c5..dd98a08699 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -1291,6 +1291,7 @@ DIAG_ON(cast-qual)
/* disabled protocols as per configuration file */
if (gdp_path == NULL && dp_path == NULL) {
set_disabled_protos_list();
+ set_disabled_heur_dissector_list();
}
build_column_format_array(&CaptureFile::globalCapFile()->cinfo, prefs_p->num_cols, TRUE);