aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.c
diff options
context:
space:
mode:
authorChristopher Maynard <Christopher.Maynard@igt.com>2017-07-29 12:18:26 -0400
committerMichael Mann <mmann78@netscape.net>2017-10-26 21:33:19 +0000
commitea49c337c59ac9a8d0b868581f341092f4b61814 (patch)
tree5a20abd10fbdce7f5155fcf5d6cb09ea72679809 /epan/prefs.c
parent05b1d35586aee37dad7d84fa27531fc9794a41c9 (diff)
Include VLAN ID in key for ICMP request/response tracking
Add global preference to allow for "stricter" conversation tracking Bug: 13518 Change-Id: I166a084c402374fa76dac7bb54f941e2e9c9325a Reviewed-on: https://code.wireshark.org/review/22842 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/prefs.c')
-rw-r--r--epan/prefs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index 168fa29f43..89a4e54f50 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -3595,6 +3595,12 @@ prefs_register_modules(void)
"Look for dissectors that left some bytes undecoded.",
&prefs.enable_incomplete_dissectors_check);
+ prefs_register_bool_preference(protocols_module, "strict_conversation_tracking_heuristics",
+ "Enable stricter conversation tracking heuristics",
+ "Protocols may use things like VLAN ID or interface ID to narrow the potential for duplicate conversations."
+ "Currently only ICMP and ICMPv6 use this preference to add VLAN ID to conversation tracking",
+ &prefs.strict_conversation_tracking_heuristics);
+
/* Obsolete preferences
* These "modules" were reorganized/renamed to correspond to their GUI
* configuration screen within the preferences dialog