From d8a305356ea32175b89578245d0ecdfb714e1616 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 27 Feb 2014 18:08:46 +0100 Subject: [PATCH] nfq: update message displayed at exit This patch updates the message displayed at exit to have something more readable. --- src/source-nfq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }