aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-infiniband.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-08-03 17:08:52 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-08-03 17:08:52 +0000
commit0848d851cff4fcfc0d71772da517a543844e5558 (patch)
tree15f9d19239f7885049bb55c1379a7db8a41983c9 /epan/dissectors/packet-infiniband.h
parentdff27826ec176b10d195aebb82493b965c108e42 (diff)
From Slava:
The Infiniband dissector currently uses a heuristic where it attempts to parse IBA payloads as if they contained encapsulated traffic with an Ethertype header. While a relatively common occurrence and thus a fairly useful feature, this heuristic in many cases causes false-positives which invoke unneeded dissectors and generate noise in the form of unjustified "malformed packet" errors these dissectors cause. This patch adds a checkbox to the Infiniband preferences menu that allows users to disable this feature if desired. The option remains on by default. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5062 svn path=/trunk/; revision=33703
Diffstat (limited to 'epan/dissectors/packet-infiniband.h')
-rw-r--r--epan/dissectors/packet-infiniband.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-infiniband.h b/epan/dissectors/packet-infiniband.h
index d4e05cb58d..817b3130f0 100644
--- a/epan/dissectors/packet-infiniband.h
+++ b/epan/dissectors/packet-infiniband.h
@@ -1378,4 +1378,7 @@ static gchar *src_addr_str = NULL, /* the string to be displayed in the sour
#define ADDR_STR_MAX_LEN 33 /* maximum length of src_addr_str and dst_addr_str */
+/* settings to be set by the user via the preferences dialog */
+static gboolean pref_identify_iba_payload = TRUE;
+
#endif