aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fcoib.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-12-17 11:20:38 -0500
committerMichael Mann <mmann78@netscape.net>2016-12-19 14:19:48 +0000
commita942468e0771686ea168d19c0e59fe443c644b88 (patch)
tree3c2e186254c574d01fd01c48d634a491094758c6 /epan/dissectors/packet-fcoib.c
parentcf0f6ae0ae2c3d4661060655494528e8eaec2e89 (diff)
Make more infiniband subdissectors heuristic.
1. Convert the Mellanox encapsulation header into a heuristic dissector. 2. Convert EtherType header dissection into a heuristic dissector. 3. Convert "heuristic preferences" to use deprecated_heur_dissector_pref. Ping-Bug: 5061 Ping-Bug: 2672 Change-Id: Iabcac1af8e07f3f6f25f825ed56b2036c3285783 Reviewed-on: https://code.wireshark.org/review/19317 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 'epan/dissectors/packet-fcoib.c')
-rw-r--r--epan/dissectors/packet-fcoib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcoib.c b/epan/dissectors/packet-fcoib.c
index 0278fc4b14..81a6bca433 100644
--- a/epan/dissectors/packet-fcoib.c
+++ b/epan/dissectors/packet-fcoib.c
@@ -167,8 +167,6 @@ dissect_fcoib(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U
gboolean packet_match_manual;
fc_data_t fc_data;
- tree = proto_tree_get_root(tree); /* we don't want to add FCoIB under the Infiniband tree */
-
frame_len = tvb_reported_length_remaining(tvb, 0) -
FCOIB_HEADER_LEN - FCOIB_TRAILER_LEN;
crc_offset = FCOIB_HEADER_LEN + frame_len;