]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ipfw: improve exit message
authorEric Leblond <eric@regit.org>
Thu, 27 Feb 2014 17:16:13 +0000 (18:16 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 3 Mar 2014 09:14:36 +0000 (10:14 +0100)
This patch synchronizes the exit message with what is done in
NFQ capture mode.

src/source-ipfw.c

index 70ec3bc559761f7002123d2ed9144d2ec607351e..0195d09550a218a7fd25ce984a1070522cf86598 100644 (file)
@@ -393,7 +393,11 @@ void ReceiveIPFWThreadExitStats(ThreadVars *tv, void *data)
 
     SCEnter();
 
-    SCLogNotice("(%s) Packets %" PRIu32 ", bytes %" PRIu64 "", tv->name, ptv->pkts, ptv->bytes);
+    SCLogNotice("(%s) Treated: Pkts %" PRIu32 ", Bytes %" PRIu64 ", Errors %" PRIu32 "",
+            tv->name, ptv->pkts, ptv->bytes, ptv->errs);
+    SCLogNotice("(%s) Verdict: Accepted %"PRIu32", Dropped %"PRIu32 "",
+            tv->name, ptv->accepted, ptv->dropped);
+
 
     SCReturn;
 }