aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h460.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2015-04-08 10:03:08 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-08 08:18:50 +0000
commitf6a183d034c01fb23bdcd560a13272dc0dcd668c (patch)
treea8cbdf62d7f4785a0d217d4e85306ee2ac8a5115 /epan/dissectors/packet-h460.c
parent9721a2a5092747886ca520b6813844974e6e9698 (diff)
Replace deprecated tvb_length with tvb_reported_length.
Change-Id: I45d2ae41da823c50ba383a8e2aaec570ee3ad842 Reviewed-on: https://code.wireshark.org/review/7979 Reviewed-by: Anders Broman <a.broman58@gmail.com>
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 dc2937aaf0..74fb2c9615 100644
--- a/epan/dissectors/packet-h460.c
+++ b/epan/dissectors/packet-h460.c
@@ -1970,7 +1970,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_reported_length_remaining(tvb, offset);
}
return offset;
}
@@ -1981,7 +1981,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_reported_length_remaining(tvb, offset);
}
return offset;
}