aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h283/h283.cnf
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 /asn1/h283/h283.cnf
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 'asn1/h283/h283.cnf')
-rw-r--r--asn1/h283/h283.cnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h283/h283.cnf b/asn1/h283/h283.cnf
index f1d5844ea7..1e4f949462 100644
--- a/asn1/h283/h283.cnf
+++ b/asn1/h283/h283.cnf
@@ -93,7 +93,7 @@ LCTPDU
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
- if (next_tvb && tvb_length(next_tvb)) {
+ if (next_tvb && tvb_reported_length(next_tvb)) {
call_dissector((rdc_pdu_handle)?rdc_pdu_handle:data_handle, next_tvb, %(ACTX)s->pinfo, proto_tree_get_root(tree));
}
info_is_set = TRUE;
@@ -103,7 +103,7 @@ LCTPDU
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
- if (next_tvb && tvb_length(next_tvb)) {
+ if (next_tvb && tvb_reported_length(next_tvb)) {
call_dissector((rdc_device_list_handle)?rdc_device_list_handle:data_handle, next_tvb, %(ACTX)s->pinfo, tree);
}
#.END