From: Victor Julien Date: Mon, 24 Apr 2023 07:45:33 +0000 (+0200) Subject: eve/dnp3: remove noisy debug code X-Git-Tag: suricata-7.0.0-rc2~356 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0334eaf7fbbdd1fe6058e348c9ee6a45d172472c;p=thirdparty%2Fsuricata.git eve/dnp3: remove noisy debug code --- 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); }