diff options
Diffstat (limited to 'epan/dissectors/packet-rlm.c')
-rw-r--r-- | epan/dissectors/packet-rlm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rlm.c b/epan/dissectors/packet-rlm.c index 193da875e1..88bb264ebf 100644 --- a/epan/dissectors/packet-rlm.c +++ b/epan/dissectors/packet-rlm.c @@ -132,7 +132,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; } |