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

index 96b11af235d086d6ab191d84c9f9adf85d5a99a1..183bc4dd332c2522b5b5c19453d2db1e8ddccb25 100644 (file)
@@ -828,7 +828,7 @@ pub unsafe extern "C" fn rs_mqtt_register_parser(cfg_max_msg_len: u32) {
         get_tx_iterator: Some(rs_mqtt_state_get_tx_iterator),
         get_tx_data: rs_mqtt_get_tx_data,
         apply_tx_config: None,
-        flags: 0,
+        flags: APP_LAYER_PARSER_OPT_UNIDIR_TXS,
         truncate: None,
     };