From 0334eaf7fbbdd1fe6058e348c9ee6a45d172472c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 24 Apr 2023 09:45:33 +0200 Subject: [PATCH] eve/dnp3: remove noisy debug code --- src/output-json-dnp3.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/output-json-dnp3.c b/src/output-json-dnp3.c index 05d6aab048..97b1e92e00 100644 --- a/src/output-json-dnp3.c +++ b/src/output-json-dnp3.c @@ -257,13 +257,11 @@ static int JsonDNP3Logger(ThreadVars *tv, void *thread_data, const Packet *p, Fl { SCEnter(); DNP3Transaction *tx = vtx; - static int count = 0; if (tx->is_request && tx->done) { JsonDNP3LoggerToServer(tv, thread_data, p, f, state, vtx, tx_id); } else if (!tx->is_request && tx->done) { JsonDNP3LoggerToClient(tv, thread_data, p, f, state, vtx, tx_id); } - SCLogNotice("count = %d", ++count); SCReturnInt(TM_ECODE_OK); } -- 2.47.2