From 0e0ce39190db0560d12bf0f5d2a65f91bfaecd8b Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 25 Jan 2023 12:02:27 -0600 Subject: [PATCH] smb: remove duplicate tree_id logging Remove the second occurrence of tree_id logging which appears to always be a duplicate of the first tree_id logged, even though they come from different data structures. Issue: 5811 (cherry picked from commit 67baab573b8046ace275e6c0f671f62af22a49a6) --- rust/src/smb/log.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/rust/src/smb/log.rs b/rust/src/smb/log.rs index a05682cb69..73a679ddcf 100644 --- a/rust/src/smb/log.rs +++ b/rust/src/smb/log.rs @@ -258,8 +258,6 @@ fn smb_common_header(jsb: &mut JsonBuilder, state: &SMBState, tx: &SMBTransactio } }, Some(SMBTransactionTypeData::TREECONNECT(ref x)) => { - jsb.set_uint("tree_id", x.tree_id as u64)?; - let share_name = String::from_utf8_lossy(&x.share_name); if x.is_pipe { jsb.set_string("named_pipe", &share_name)?; -- 2.47.2