From 0848d851cff4fcfc0d71772da517a543844e5558 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 3 Aug 2010 17:08:52 +0000 Subject: 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 --- epan/dissectors/packet-infiniband.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'epan/dissectors/packet-infiniband.h') 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 -- cgit v1.2.3