From: Eric Leblond Date: Thu, 27 Feb 2014 17:16:13 +0000 (+0100) Subject: ipfw: improve exit message X-Git-Tag: suricata-2.0rc2~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f6527dc1687053f31abc2bb98afec6cbd07634b;p=thirdparty%2Fsuricata.git ipfw: improve exit message This patch synchronizes the exit message with what is done in NFQ capture mode. --- diff --git a/src/source-ipfw.c b/src/source-ipfw.c index 70ec3bc559..0195d09550 100644 --- a/src/source-ipfw.c +++ b/src/source-ipfw.c @@ -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; }