From 46477f7660c7c6b9d4fa38070b2335c759179b1e Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 31 Aug 2007 10:42:01 +0200 Subject: [PATCH] netlink plugin: Yet another fix. `if_dropped' was getting bytes.. --- src/netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netlink.c b/src/netlink.c index 3c8a1fcd..1a053d24 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -233,7 +233,7 @@ static int link_filter (const struct sockaddr_nl *sa, struct nlmsghdr *nmh, if (check_ignorelist (dev, "if_detail", NULL) == 0) { - submit_two (dev, "if_dropped", NULL, stats->rx_bytes, stats->tx_bytes); + submit_two (dev, "if_dropped", NULL, stats->rx_dropped, stats->tx_dropped); submit_one (dev, "if_multicast", NULL, stats->multicast); submit_one (dev, "if_collisions", NULL, stats->collisions); -- 2.30.2