And one more case where tvb_new_subset_remaining() is appropriate.

svn path=/trunk/; revision=47760
This commit is contained in:
Guy Harris 2013-02-20 01:38:58 +00:00
parent 021069a56b
commit c5f0b68669
1 changed files with 1 additions and 3 deletions

View File

@ -1599,9 +1599,7 @@ static int wrap_dissect_gss_kerb(tvbuff_t *tvb, int offset, packet_info *pinfo,
{
tvbuff_t *auth_tvb;
auth_tvb = tvb_new_subset(
tvb, offset, tvb_length_remaining(tvb, offset),
tvb_reported_length_remaining(tvb, offset));
auth_tvb = tvb_new_subset_remaining(tvb, offset);
dissect_kerberos_main(auth_tvb, pinfo, tree, FALSE, NULL);