From 5dda1cf738b529d25b22344f9cd1851c8bdab713 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 13 Mar 2009 21:20:08 +0100 Subject: sync-mode: fix wrong output stats refering lost/malformed packets This patch fixes a misleading output that shows the number of lost and malformed packets. Instead, those numbers show the number of the number of lost and malformed messages. Signed-off-by: Pablo Neira Ayuso --- src/sync-mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sync-mode.c b/src/sync-mode.c index 22609df..04b2171 100644 --- a/src/sync-mode.c +++ b/src/sync-mode.c @@ -347,9 +347,9 @@ static void dump_stats_sync(int fd) char buf[512]; int size; - size = sprintf(buf, "multicast sequence tracking:\n" - "%20llu Pckts mfrm " - "%20llu Pckts lost\n\n", + size = sprintf(buf, "message sequence tracking:\n" + "%20llu Msgs mfrm " + "%20llu Msgs lost\n\n", (unsigned long long)STATE_SYNC(error).msg_rcv_malformed, (unsigned long long)STATE_SYNC(error).msg_rcv_lost); -- cgit v1.2.3