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

rust/src/sip/sip.rs

index 81caa3f2374289b428f3607ae4c058a9778676ca..8df2a2f3476ab3e3156baf6e34f54fa25f66f57c 100755 (executable)
@@ -424,7 +424,7 @@ pub unsafe extern "C" fn rs_sip_register_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,
     };
 
     /* For 5.0 we want this disabled by default, so check that it