aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rua.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-rua.c')
-rw-r--r--epan/dissectors/packet-rua.c2
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);