aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mdshdr.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-21 19:51:17 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-21 19:51:17 +0000
commit9fa6c9fb800199967b5ec44a93fcfaeeed405085 (patch)
tree862cb08f36e01a1f34506898ceac858dcab653bf /epan/dissectors/packet-mdshdr.c
parent82f7344f453783255228971b90a6bdb8243e0eaa (diff)
Create new dissectors when a protocol goes across ethernet and "something else" instead a single dissector that uses pinfo->ethertype to determine if it's the "ethernet" or the "something else" case.
svn path=/trunk/; revision=53488
Diffstat (limited to 'epan/dissectors/packet-mdshdr.c')
-rw-r--r--epan/dissectors/packet-mdshdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mdshdr.c b/epan/dissectors/packet-mdshdr.c
index 9d8513f9d4..4bf7c9ac01 100644
--- a/epan/dissectors/packet-mdshdr.c
+++ b/epan/dissectors/packet-mdshdr.c
@@ -240,7 +240,7 @@ dissect_mdshdr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Call the Fibre Channel dissector */
if (fc_dissector_handle) {
- call_dissector(fc_dissector_handle, next_tvb, pinfo, tree);
+ call_dissector_with_data(fc_dissector_handle, next_tvb, pinfo, tree, GUINT_TO_POINTER((guint)ETHERTYPE_FCFT));
}
else {
call_dissector(data_handle, next_tvb, pinfo, tree);