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

rust/src/ikev2/ikev2.rs

index cac0a743a6f766aa1c2cd4fe12712ed930efd6f6..bbf626d90f0209166ffe3f3d0dc9344dd0fe0f52 100644 (file)
@@ -732,7 +732,7 @@ pub unsafe extern "C" fn rs_register_ikev2_parser() {
         get_tx_iterator    : None,
         get_tx_detect_flags: None,
         set_tx_detect_flags: None,
-        flags              : 0,
+        flags              : crate::core::APP_LAYER_PARSER_OPT_UNIDIR_TXS,
     };
 
     let ip_proto_str = CString::new("udp").unwrap();