]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
device: cleanup stats print
authorVictor Julien <vjulien@oisf.net>
Thu, 1 Dec 2022 11:48:21 +0000 (12:48 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 15 Dec 2022 15:00:39 +0000 (16:00 +0100)
src/util-device.c

index 89988c748aed5846791733b35ae5cc9b5f3b25b2..708df3def3fa59d61a767297805f14e7db88f016 100644 (file)
@@ -353,7 +353,7 @@ int LiveDeviceListClean()
 
     TAILQ_FOREACH_SAFE(pd, &live_devices, next, tpd) {
         if (live_devices_stats) {
-            SCLogNotice("Stats for '%s':  pkts: %" PRIu64 ", drop: %" PRIu64
+            SCLogNotice("%s: packets: %" PRIu64 ", drops: %" PRIu64
                         " (%.2f%%), invalid chksum: %" PRIu64,
                     pd->dev, SC_ATOMIC_GET(pd->pkts), SC_ATOMIC_GET(pd->drop),
                     100 * ((double)SC_ATOMIC_GET(pd->drop)) / (double)SC_ATOMIC_GET(pd->pkts),