From: Eric Leblond Date: Thu, 27 Feb 2014 17:08:46 +0000 (+0100) Subject: nfq: update message displayed at exit X-Git-Tag: suricata-2.0rc2~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a305356ea32175b89578245d0ecdfb714e1616;p=thirdparty%2Fsuricata.git nfq: update message displayed at exit This patch updates the message displayed at exit to have something more readable. --- diff --git a/src/source-nfq.c b/src/source-nfq.c index 78a6de490b..971d7b3e22 100644 --- a/src/source-nfq.c +++ b/src/source-nfq.c @@ -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 }