]> 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 04:55:32 +0000 (06:55 +0200)
rust/src/dhcp/dhcp.rs

index 07cc702bbd7907691db38f95746b29fd2cd231d9..442ccecd71171ee9b916438775d637b6d41a6240 100644 (file)
@@ -436,7 +436,7 @@ pub unsafe extern "C" fn rs_dhcp_register_parser() {
         get_tx_iterator    : Some(rs_dhcp_state_get_tx_iterator),
         get_tx_data        : rs_dhcp_get_tx_data,
         apply_tx_config    : None,
-        flags              : 0,
+        flags              : APP_LAYER_PARSER_OPT_UNIDIR_TXS,
         truncate           : None,
     };