]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve/dnp3: remove noisy debug code
authorVictor Julien <vjulien@oisf.net>
Mon, 24 Apr 2023 07:45:33 +0000 (09:45 +0200)
committerVictor Julien <vjulien@oisf.net>
Mon, 24 Apr 2023 07:45:33 +0000 (09:45 +0200)
src/output-json-dnp3.c

index 05d6aab048ebd7bbdc9390f6b6d67f08e91627ae..97b1e92e00ce96f3ac8c5a10d43dbc6f8e0e5043 100644 (file)
@@ -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);
 }