diff options
Diffstat (limited to 'epan/tvbuff_subset.c')
-rw-r--r-- | epan/tvbuff_subset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbuff_subset.c b/epan/tvbuff_subset.c index 3bb6e8fd18..b463e46b0f 100644 --- a/epan/tvbuff_subset.c +++ b/epan/tvbuff_subset.c @@ -181,7 +181,7 @@ tvb_new_subset_length(tvbuff_t *backing, const gint backing_offset, const gint b /* * Give the next dissector only captured_length bytes. */ - captured_length = tvb_length_remaining(backing, backing_offset); + captured_length = tvb_captured_length_remaining(backing, backing_offset); THROW_ON(captured_length < 0, BoundsError); if (captured_length > backing_length) captured_length = backing_length; |