diff options
Diffstat (limited to 'epan/dissectors/packet-loop.c')
-rw-r--r-- | epan/dissectors/packet-loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-loop.c b/epan/dissectors/packet-loop.c index 19a953120d..668bb129ae 100644 --- a/epan/dissectors/packet-loop.c +++ b/epan/dissectors/packet-loop.c @@ -116,7 +116,7 @@ dissect_loop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_INFO, "No valid function found"); } - if (tvb_length_remaining(tvb, offset) > 0) + if (tvb_captured_length_remaining(tvb, offset) > 0) { next_tvb = tvb_new_subset_remaining(tvb, offset); call_dissector(data_handle, next_tvb, pinfo, tree); |