summaryrefslogtreecommitdiff
path: root/asn1/cdt
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/cdt
parentdb92f393d8b56a61c73693ac879441454f11c566 (diff)
downloadwireshark-5fa267e870364902864d67f9ea297e52e6029cd7.tar.gz
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/cdt')
-rw-r--r--asn1/cdt/cdt.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/cdt/cdt.cnf b/asn1/cdt/cdt.cnf
index e2bc316770..38fd6e29b0 100644
--- a/asn1/cdt/cdt.cnf
+++ b/asn1/cdt/cdt.cnf
@@ -76,7 +76,7 @@ CompressedData B "1.3.26.0.4406.0.4.2" "cdt"
return offset;
}
- next_tvb = tvb_child_uncompress (tvb, compr_tvb, 0, tvb_length (compr_tvb));
+ next_tvb = tvb_child_uncompress (tvb, compr_tvb, 0, tvb_reported_length (compr_tvb));
if (next_tvb == NULL) {
proto_tree_add_expert(top_tree, actx->pinfo, &ei_cdt_unable_uncompress_content,