diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2017-02-22 21:41:13 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-02-23 03:36:53 +0000 |
commit | 453cccd1c38346894357b49caf22091bbe6f2601 (patch) | |
tree | c4c67d7ad5156fcaefd359838138744136ad2182 | |
parent | 26512328ae5a491d19db3f1c27f4d09053c461aa (diff) | |
download | wireshark-453cccd1c38346894357b49caf22091bbe6f2601.tar.gz wireshark-453cccd1c38346894357b49caf22091bbe6f2601.tar.bz2 wireshark-453cccd1c38346894357b49caf22091bbe6f2601.zip |
USB COM: highlight the bytes of the communications descriptor
Change-Id: Ia3aa1f5e35945ff8bf500508a67731b6ad3e28e3
Reviewed-on: https://code.wireshark.org/review/20252
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r-- | epan/dissectors/packet-usb-com.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-usb-com.c b/epan/dissectors/packet-usb-com.c index f34bdefe2a..71653abc41 100644 --- a/epan/dissectors/packet-usb-com.c +++ b/epan/dissectors/packet-usb-com.c @@ -417,7 +417,7 @@ dissect_usb_com_descriptor(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree *subtree_capabilities; proto_item *subitem_capabilities; - subtree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_usb_com, NULL, "COMMUNICATIONS DESCRIPTOR"); + subtree = proto_tree_add_subtree(tree, tvb, offset, tvb_captured_length(tvb), ett_usb_com, NULL, "COMMUNICATIONS DESCRIPTOR"); dissect_usb_descriptor_header(subtree, tvb, offset, &usb_com_descriptor_type_vals_ext); offset += 2; |