diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-10-24 20:31:09 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-10-24 20:31:09 +0000 |
commit | a753eaaea0a369c4bcc93d486f125ed2ae071eb3 (patch) | |
tree | 793e796c5e96d7118a612033b06cf8a51f09e118 /epan/dissectors/packet-mip.c | |
parent | a121a30f7cfe094a8089b58af147c620553c3f5e (diff) |
Use tvb_reported_length to skip past all the bytes in the tvb.
svn path=/trunk/; revision=45777
Diffstat (limited to 'epan/dissectors/packet-mip.c')
-rw-r--r-- | epan/dissectors/packet-mip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mip.c b/epan/dissectors/packet-mip.c index a8a8464be8..da5743d0c3 100644 --- a/epan/dissectors/packet-mip.c +++ b/epan/dissectors/packet-mip.c @@ -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, |