aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cmip
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2015-04-09 14:01:25 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-09 12:03:23 +0000
commit5fa267e870364902864d67f9ea297e52e6029cd7 (patch)
treede58acbc4944ef56c9797dcf6039e3e313b213d4 /asn1/cmip
parentdb92f393d8b56a61c73693ac879441454f11c566 (diff)
downloadwireshark-5fa267e870364902864d67f9ea297e52e6029cd7.tar.gz
wireshark-5fa267e870364902864d67f9ea297e52e6029cd7.tar.bz2
wireshark-5fa267e870364902864d67f9ea297e52e6029cd7.zip
REplace deprecated API tvb_length -> tvb_reported_length
Change-Id: I6090055a9c31f6787626b810de655d1cc71b99de Reviewed-on: https://code.wireshark.org/review/8002 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'asn1/cmip')
-rw-r--r--asn1/cmip/cmip.cnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/cmip/cmip.cnf b/asn1/cmip/cmip.cnf
index 4a9eccc89a..7e33004634 100644
--- a/asn1/cmip/cmip.cnf
+++ b/asn1/cmip/cmip.cnf
@@ -276,7 +276,7 @@ RejectProblem
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, actx->private_data);
} else if (actx->external.indirect_ref_present &&
dissector_try_uint(attribute_id_dissector_table, actx->external.indirect_reference, tvb, actx->pinfo, tree)) {
- offset=tvb_length (tvb);
+ offset=tvb_reported_length (tvb);
} else {
offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
}
@@ -456,7 +456,7 @@ RejectProblem
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
} else if (actx->external.indirect_ref_present &&
dissector_try_uint(attribute_id_dissector_table, actx->external.indirect_reference, tvb, actx->pinfo, tree)) {
- offset=tvb_length (tvb);
+ offset=tvb_reported_length (tvb);
} else {
offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
}