diff --git a/rust/src/dhcp/parser.rs b/rust/src/dhcp/parser.rs index 6b7402cd7b..55a1be6037 100644 --- a/rust/src/dhcp/parser.rs +++ b/rust/src/dhcp/parser.rs @@ -199,7 +199,7 @@ pub fn dhcp_parse(input: &[u8]) -> IResult<&[u8], DHCPMessage> { Ok((rem, header)) => { let mut options = Vec::new(); let mut next = rem; - let mut malformed_options = false; + let malformed_options = false; let mut truncated_options = false; loop { match parse_option(next) {