summaryrefslogtreecommitdiff
path: root/asn1/ansi_tcap
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2015-04-09 13:27:18 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-09 11:41:32 +0000
commit99e7395e9e2f061c480ff73b884c86e5b7f4a662 (patch)
tree59e31746197c27761e250361d70d38404c8fdd40 /asn1/ansi_tcap
parent08c223a53a3689ae9f07bd69681615284601c1fe (diff)
downloadwireshark-99e7395e9e2f061c480ff73b884c86e5b7f4a662.tar.gz
Replace deprecated API tvb_length... with tvb_reported_length...
Change-Id: I44732d2743ba461d1791bb3795b0aef5a314bc1f Reviewed-on: https://code.wireshark.org/review/8001 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'asn1/ansi_tcap')
-rw-r--r--asn1/ansi_tcap/ansi_tcap.cnf8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/ansi_tcap/ansi_tcap.cnf b/asn1/ansi_tcap/ansi_tcap.cnf
index 4291b60104..4fdbbff7fa 100644
--- a/asn1/ansi_tcap/ansi_tcap.cnf
+++ b/asn1/ansi_tcap/ansi_tcap.cnf
@@ -86,7 +86,7 @@ OperationCode/private VAL_PTR = &ansi_tcap_private.d.OperationCode_private
#.FN_BODY Invoke/parameter
if(find_tcap_subdissector(tvb, actx, tree))
- offset = tvb_length(tvb);
+ offset = tvb_reported_length(tvb);
#.FN_HDR Invoke
@@ -98,7 +98,7 @@ OperationCode/private VAL_PTR = &ansi_tcap_private.d.OperationCode_private
#.FN_BODY ReturnResult/parameter
if(find_tcap_subdissector(tvb, actx, tree))
- offset = tvb_length(tvb);
+ offset = tvb_reported_length(tvb);
#.FN_HDR ReturnResult
ansi_tcap_private.d.pdu = 2;
@@ -108,7 +108,7 @@ OperationCode/private VAL_PTR = &ansi_tcap_private.d.OperationCode_private
#.FN_BODY ReturnError/parameter
if(find_tcap_subdissector(tvb, actx, tree))
- offset = tvb_length(tvb);
+ offset = tvb_reported_length(tvb);
#.FN_HDR ReturnError
ansi_tcap_private.d.pdu = 3;
@@ -158,7 +158,7 @@ guint8 len;
%(DEFAULT_BODY)s
if(next_tvb) {
- len = tvb_length_remaining(next_tvb, 0);
+ len = tvb_reported_length_remaining(next_tvb, 0);
if(len !=0){
/* 0 octets for the Unidirectional,
* 4 octets for Query, Response & Abort