USB-CCID header is always 10 bytes and may contain payloads, so setting

it to run to the end of the packet was confusing and/or wrong.

svn path=/trunk/; revision=47296
This commit is contained in:
Evan Huus 2013-01-26 15:34:48 +00:00
parent c3651f0409
commit 8444e23988
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ dissect_ccid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_INFO, "CCID Packet");
/* Start with a top-level item to add everything else to */
item = proto_tree_add_item(tree, proto_ccid, tvb, 0, -1, ENC_NA);
item = proto_tree_add_item(tree, proto_ccid, tvb, 0, 10, ENC_NA);
ccid_tree = proto_item_add_subtree(item, ett_ccid);
proto_tree_add_item(ccid_tree, hf_ccid_bMessageType, tvb, 0, 1, ENC_NA);