]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
nfs: TX are not unidirectional
authorEric Leblond <el@stamus-networks.com>
Mon, 23 Jan 2023 19:07:07 +0000 (20:07 +0100)
committerVictor Julien <vjulien@oisf.net>
Fri, 31 Mar 2023 17:30:07 +0000 (19:30 +0200)
NFS transactions are not unidirectional so we should not declare
them as such.

rust/src/nfs/nfs.rs

index c396b122b1ae29fd45ad9bc6102e5006df0c5f83..df73a2ce8f1f65ab0b7e004e3efd5a5668233213 100644 (file)
@@ -2075,7 +2075,7 @@ pub unsafe extern "C" fn rs_nfs_udp_register_parser() {
         get_tx_data: rs_nfs_get_tx_data,
         get_state_data: rs_nfs_get_state_data,
         apply_tx_config: None,
-        flags: APP_LAYER_PARSER_OPT_UNIDIR_TXS,
+        flags: 0,
         truncate: None,
         get_frame_id_by_name: Some(NFSFrameType::ffi_id_from_name),
         get_frame_name_by_id: Some(NFSFrameType::ffi_name_from_id),