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 /epan/dissectors/packet-qsig.c | |
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 'epan/dissectors/packet-qsig.c')
-rw-r--r-- | epan/dissectors/packet-qsig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-qsig.c b/epan/dissectors/packet-qsig.c index 080c50a474..02bc45af8b 100644 --- a/epan/dissectors/packet-qsig.c +++ b/epan/dissectors/packet-qsig.c @@ -2089,7 +2089,7 @@ dissect_qsig_T_extensionArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, i dissect_unknown_ber(actx->pinfo, next_tvb, offset, next_tree); } - offset+=tvb_length_remaining(tvb, offset); + offset+=tvb_reported_length_remaining(tvb, offset); return offset; @@ -2125,7 +2125,7 @@ dissect_qsig_PSS1InformationElement_U(gboolean implicit_tag _U_, tvbuff_t *tvb _ &out_tvb); data_tree = proto_item_add_subtree(actx->created_item, ett_cnq_PSS1InformationElement); - if (out_tvb && (tvb_length(out_tvb) > 0) && q931_ie_handle) + if (out_tvb && (tvb_reported_length(out_tvb) > 0) && q931_ie_handle) call_dissector(q931_ie_handle, out_tvb, actx->pinfo, data_tree); |