Fix up the construction of a subset tvbuff.

svn path=/trunk/; revision=26043
This commit is contained in:
Guy Harris 2008-08-20 02:58:41 +00:00
parent bba165265c
commit 267572b693
1 changed files with 1 additions and 3 deletions

View File

@ -1183,9 +1183,7 @@ dissect_reassembled_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
pinfo->pseudo_header->atm.vci,
pinfo->pseudo_header->atm.aal2_cid);
next_tvb = tvb_new_subset(tvb, 4,
tvb_length_remaining(tvb, 4),
tvb_length_remaining(tvb, 4));
next_tvb = tvb_new_subset(tvb, 4, -1, -1);
call_dissector(fp_handle, next_tvb, pinfo, tree);
break;