summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-03-13 21:20:08 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-03-13 21:20:08 +0100
commit5dda1cf738b529d25b22344f9cd1851c8bdab713 (patch)
treeaad86d9a546d29811e61c753b4d47431982787a7 /src
parent41e8560ea7c09533d03f523380c1cb5c62d87261 (diff)
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 <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r--src/sync-mode.c6
1 files 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);