diff options
author | AndersBroman <anders.broman@ericsson.com> | 2015-04-08 10:03:08 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-04-08 08:18:50 +0000 |
commit | f6a183d034c01fb23bdcd560a13272dc0dcd668c (patch) | |
tree | a8cbdf62d7f4785a0d217d4e85306ee2ac8a5115 /asn1/h245 | |
parent | 9721a2a5092747886ca520b6813844974e6e9698 (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/h245')
-rw-r--r-- | asn1/h245/h245.cnf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf index 713a51cd1b..8c5f9acb55 100644 --- a/asn1/h245/h245.cnf +++ b/asn1/h245/h245.cnf @@ -997,7 +997,7 @@ NonStandardIdentifier/h221NonStandard/manufacturerCode VAL_PTR = &manufacturerC 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((nsp_handle)?nsp_handle:data_handle, next_tvb, %(ACTX)s->pinfo, tree); } #.END @@ -1010,7 +1010,7 @@ NonStandardIdentifier/h221NonStandard/manufacturerCode VAL_PTR = &manufacturerC %(DEFAULT_BODY)s - if (next_tvb && tvb_length(next_tvb)) { + if (next_tvb && tvb_reported_length(next_tvb)) { saved_h245_pi = h245_pi; h245_pi = NULL; subtree = proto_tree_add_subtree(tree, next_tvb, 0, -1, ett_h245_returnedFunction, &item, "The returned function"); |