aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h460.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-h460.c')
-rw-r--r--epan/dissectors/packet-h460.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-h460.c b/epan/dissectors/packet-h460.c
index d4a63e0794..8ab0535a83 100644
--- a/epan/dissectors/packet-h460.c
+++ b/epan/dissectors/packet-h460.c
@@ -1973,7 +1973,7 @@ dissect_ies(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
if (q931_ie_handle) {
call_dissector(q931_ie_handle, tvb, pinfo, tree);
- offset += tvb_length_remaining(tvb, offset);
+ offset += tvb_captured_length_remaining(tvb, offset);
}
return offset;
}
@@ -1984,7 +1984,7 @@ dissect_ras(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
if (h225_ras_handle) {
call_dissector(h225_ras_handle, tvb, pinfo, tree);
- offset += tvb_length_remaining(tvb, offset);
+ offset += tvb_captured_length_remaining(tvb, offset);
}
return offset;
}