]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
nfq: update message displayed at exit
authorEric Leblond <eric@regit.org>
Thu, 27 Feb 2014 17:08:46 +0000 (18:08 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 3 Mar 2014 09:14:36 +0000 (10:14 +0100)
This patch updates the message displayed at exit to have something
more readable.

src/source-nfq.c

index 78a6de490b58e6b46693fd1d731d3d181db41304..971d7b3e2223febd5cbfb041248519bac09c4774 100644 (file)
@@ -1000,10 +1000,10 @@ void ReceiveNFQThreadExitStats(ThreadVars *tv, void *data) {
     NFQThreadVars *ntv = (NFQThreadVars *)data;
     NFQQueueVars *nq = NFQGetQueue(ntv->nfq_index);
 #ifdef COUNTERS
-    SCLogNotice("(%s) Pkts %" PRIu32 ", Bytes %" PRIu64 ", Errors %" PRIu32 "",
+    SCLogNotice("(%s) Treated: Pkts %" PRIu32 ", Bytes %" PRIu64 ", Errors %" PRIu32 "",
             tv->name, nq->pkts, nq->bytes, nq->errs);
-    SCLogNotice("Pkts accepted %"PRIu32", dropped %"PRIu32", replaced %"PRIu32,
-            nq->accepted, nq->dropped, nq->replaced);
+    SCLogNotice("(%s) Verdict: Accepted %"PRIu32", Dropped %"PRIu32", Replaced %"PRIu32,
+            tv->name, nq->accepted, nq->dropped, nq->replaced);
 #endif
 }