Set BCP BPDU to size of bytes used by the protocol, not whole packet.
Bug: 13188 Change-Id: I29b2712d4d6ae57e4b0ea4bc0ec126cb80172779 Reviewed-on: https://code.wireshark.org/review/19400 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
ec54234e73
commit
fb9a4d7413
|
@ -4562,6 +4562,8 @@ dissect_bcp_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data
|
|||
break;
|
||||
}
|
||||
|
||||
proto_item_set_len(ti, offset);
|
||||
|
||||
if (!(flags & BCP_IS_BCONTROL)) {
|
||||
captured_length = tvb_captured_length_remaining(tvb, offset);
|
||||
reported_length = tvb_reported_length_remaining(tvb, offset);
|
||||
|
|
Loading…
Reference in New Issue