From 114d3ba7307db7ab449bffae2c2dcb48e6b8f08d Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 18 Mar 2021 08:37:08 +0100 Subject: [PATCH] smb: count files in tx --- rust/src/smb/files.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/smb/files.rs b/rust/src/smb/files.rs index 56567bafef..6090c9f698 100644 --- a/rust/src/smb/files.rs +++ b/rust/src/smb/files.rs @@ -72,6 +72,7 @@ impl SMBState { }, _ => { }, } + tx.tx_data.init_files_opened(); SCLogDebug!("SMB: new_file_tx: TX FILE created: ID {} NAME {}", tx.id, String::from_utf8_lossy(file_name)); self.transactions.push(tx); -- 2.47.2