And one more case where tvb_new_subset_remaining() is appropriate.
svn path=/trunk/; revision=47760
This commit is contained in:
parent
021069a56b
commit
c5f0b68669
1 changed files with 1 additions and 3 deletions
|
@ -1599,9 +1599,7 @@ static int wrap_dissect_gss_kerb(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
||||||
{
|
{
|
||||||
tvbuff_t *auth_tvb;
|
tvbuff_t *auth_tvb;
|
||||||
|
|
||||||
auth_tvb = tvb_new_subset(
|
auth_tvb = tvb_new_subset_remaining(tvb, offset);
|
||||||
tvb, offset, tvb_length_remaining(tvb, offset),
|
|
||||||
tvb_reported_length_remaining(tvb, offset));
|
|
||||||
|
|
||||||
dissect_kerberos_main(auth_tvb, pinfo, tree, FALSE, NULL);
|
dissect_kerberos_main(auth_tvb, pinfo, tree, FALSE, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue