Use tvb_reported_length to skip past all the bytes in the tvb.

svn path=/trunk/; revision=45777
This commit is contained in:
Chris Maynard 2012-10-24 20:31:09 +00:00
parent a121a30f7c
commit a753eaaea0
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@ dissect_mip( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* encapsulated payload */
next_tvb = tvb_new_subset_remaining(tvb, 4);
call_dissector(ip_handle, next_tvb, pinfo, mip_tree);
offset += tvb_reported_length_remaining(tvb, offset);
offset = tvb_reported_length(tvb);
break;
case MIP_REGISTRATION_REVOCATION:
col_add_fstr(pinfo->cinfo, COL_INFO,