aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-rlm.c')
-rw-r--r--epan/dissectors/packet-rlm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rlm.c b/epan/dissectors/packet-rlm.c
index c91c052f27..b23800449a 100644
--- a/epan/dissectors/packet-rlm.c
+++ b/epan/dissectors/packet-rlm.c
@@ -130,7 +130,7 @@ dissect_rlm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
rlm_type = tvb_get_guint8(tvb, 1);
/* we only know about version 2, and I've only seen 8 byte packets */
- if (tvb_length(tvb) != 8 || version != 2) {
+ if (tvb_captured_length(tvb) != 8 || version != 2) {
return FALSE;
}