From 7ccfa9b9a6ffff41a60d0092810179b7869b494c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 1 Dec 2022 12:48:21 +0100 Subject: [PATCH] device: cleanup stats print --- src/util-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util-device.c b/src/util-device.c index 89988c748a..708df3def3 100644 --- a/src/util-device.c +++ b/src/util-device.c @@ -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),