diff --git a/rust/src/nfs/nfs2_records.rs b/rust/src/nfs/nfs2_records.rs index ed5500db1c..ff16a92ada 100644 --- a/rust/src/nfs/nfs2_records.rs +++ b/rust/src/nfs/nfs2_records.rs @@ -79,7 +79,7 @@ named!(pub parse_nfs2_reply_read, status: be_u32 >> attr_blob: take!(68) >> data_len: be_u32 - >> data_contents: rest + >> data_contents: take!(data_len) >> ( NfsReplyRead { status,