]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ntp: set unidirection transaction flag
authorJason Ish <jason.ish@oisf.net>
Mon, 14 Sep 2020 19:05:09 +0000 (13:05 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 7 Oct 2020 04:55:32 +0000 (06:55 +0200)
rust/src/ntp/ntp.rs

index 8dee98f0a01d93644d23cee6231947e18d881a84..913d5810db120a9f74211ce89376cb75caf080f8 100644 (file)
@@ -406,7 +406,7 @@ pub unsafe extern "C" fn rs_register_ntp_parser() {
         get_tx_iterator    : None,
         get_tx_data        : rs_ntp_get_tx_data,
         apply_tx_config    : None,
-        flags              : 0,
+        flags              : APP_LAYER_PARSER_OPT_UNIDIR_TXS,
         truncate           : None,
     };