diff options
author | AndersBroman <anders.broman@ericsson.com> | 2015-04-10 14:57:55 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-04-10 13:19:33 +0000 |
commit | 1785d4206111dcbd0ef7ced3a1aad55da76c7b91 (patch) | |
tree | b2f250c1f8e3656a304a4907b1a4c1e6acad9f47 /epan/dissectors/packet-rua.c | |
parent | 38d3e063d3fb3d007e61b5e8681372c247171218 (diff) |
Remove depricated API tvb_length -> tvb_reported_length
Change-Id: I78b1d2accf4fd0b37eaa16cb8bf515422565e98a
Reviewed-on: https://code.wireshark.org/review/8011
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rua.c')
-rw-r--r-- | epan/dissectors/packet-rua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rua.c b/epan/dissectors/packet-rua.c index a573449a6f..65e57b8176 100644 --- a/epan/dissectors/packet-rua.c +++ b/epan/dissectors/packet-rua.c @@ -832,7 +832,7 @@ dissect_rua_RANAP_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, FALSE, &ranap_message_tvb); - if ((tvb_length(ranap_message_tvb)>0)&&(ranap_handle)) { /* RUA has a RANAP-PDU */ + if ((tvb_reported_length(ranap_message_tvb)>0)&&(ranap_handle)) { /* RUA has a RANAP-PDU */ col_set_str(actx->pinfo->cinfo, COL_INFO, "(RUA) "); /* Set info to (RUA) to make room for RANAP */ col_set_fence(actx->pinfo->cinfo, COL_INFO); |