diff options
Diffstat (limited to 'epan/dissectors/packet-hpext.c')
-rw-r--r-- | epan/dissectors/packet-hpext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hpext.c b/epan/dissectors/packet-hpext.c index ef5b15cb61..389a79818c 100644 --- a/epan/dissectors/packet-hpext.c +++ b/epan/dissectors/packet-hpext.c @@ -93,7 +93,7 @@ dissect_hpext(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) val_to_str(dxsap, xsap_vals, "%04x"), val_to_str(sxsap, xsap_vals, "%04x")); - if (tvb_length_remaining(tvb, 7) > 0) { + if (tvb_captured_length_remaining(tvb, 7) > 0) { next_tvb = tvb_new_subset_remaining(tvb, 7); if (!dissector_try_uint(subdissector_table, dxsap, next_tvb, pinfo, tree)) { |