From 9370805af630f5be415b84813b902072d6deab17 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 2 Aug 2018 15:10:15 +0200 Subject: [PATCH] eve/smb: use flow direction for tuple --- src/output-json-smb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/output-json-smb.c b/src/output-json-smb.c index 4be4376113..e31dcb8993 100644 --- a/src/output-json-smb.c +++ b/src/output-json-smb.c @@ -77,11 +77,10 @@ json_t *JsonSMBAddMetadata(const Flow *f, uint64_t tx_id) static int JsonSMBLogger(ThreadVars *tv, void *thread_data, const Packet *p, Flow *f, void *state, void *tx, uint64_t tx_id) { - //SMBTransaction *smbtx = tx; LogSMBLogThread *thread = thread_data; json_t *js, *smbjs; - js = CreateJSONHeader((Packet *)p, 0, "smb"); + js = CreateJSONHeader(p, LOG_DIR_FLOW, "smb"); if (unlikely(js == NULL)) { return TM_ECODE_FAILED; } -- 2.47.2