diff options
author | Joerg Mayer <jmayer@loplof.de> | 2018-06-05 02:59:51 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2018-06-05 08:50:32 +0000 |
commit | 6327a869811d16b0cdd74bddccd4b26a714cb369 (patch) | |
tree | d79af139ac5fa17b28732cb6f2fa15b74c1564c8 /epan/dissectors/packet-fc.c | |
parent | b891fe969e4ce684c3653c69f5b538fb2c720365 (diff) |
We were telling the FibreChannel dissector to decode the last 8 bytes twice
Once as CRC + EOF and once as payload. Don't pass the bytes to payload
dissection any more.
Change-Id: I21eb95a4f42dbd40ccf5910934c00f58f5564454
Reviewed-on: https://code.wireshark.org/review/28023
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'epan/dissectors/packet-fc.c')
-rw-r--r-- | epan/dissectors/packet-fc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c index 433cbb7ce9..38f1432bc3 100644 --- a/epan/dissectors/packet-fc.c +++ b/epan/dissectors/packet-fc.c @@ -1282,7 +1282,7 @@ dissect_fcsof(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U proto_tree_add_uint(fcsof_tree, hf_fceof, tvb, eof_offset, 4, eof); - next_tvb = tvb_new_subset_remaining(tvb, 4); + next_tvb = tvb_new_subset_length(tvb, 4, crc_offset-4); fc_data.ethertype = 0; fc_data.sof_eof = 0; |