]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dhcp: set unidirection transaction flag
authorJason Ish <jason.ish@oisf.net>
Mon, 14 Sep 2020 19:47:17 +0000 (13:47 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 7 Oct 2020 10:11:34 +0000 (12:11 +0200)
(cherry picked from commit 0529a00ffdd05e9613c160008e16252851d86b0a)

rust/src/dhcp/dhcp.rs

index d09db6d1d8757c1834265c2bc5e2ceb0a13db058..4c5af84c713edb0fc1363e2d710f01ad19e6eccb 100644 (file)
@@ -454,7 +454,7 @@ pub unsafe extern "C" fn rs_dhcp_register_parser() {
         get_tx_iterator    : Some(rs_dhcp_state_get_tx_iterator),
         set_tx_detect_flags: None,
         get_tx_detect_flags: None,
-        flags              : 0,
+        flags              : crate::core::APP_LAYER_PARSER_OPT_UNIDIR_TXS,
     };
 
     let ip_proto_str = CString::new("udp").unwrap();