From: Florian Forster Date: Fri, 31 Aug 2007 08:42:01 +0000 (+0200) Subject: netlink plugin: Yet another fix. `if_dropped' was getting bytes.. X-Git-Tag: collectd-4.1.0~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=46477f7660c7c6b9d4fa38070b2335c759179b1e;p=collectd.git netlink plugin: Yet another fix. `if_dropped' was getting bytes.. --- 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);