[PATCH] skge: multicast statistics fix
authorStephen Hemminger <shemminger@osdl.org>
Thu, 23 Mar 2006 19:07:26 +0000 (11:07 -0800)
committerJeff Garzik <jeff@garzik.org>
Thu, 23 Mar 2006 22:13:54 +0000 (17:13 -0500)
Fix count of multicast packets.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c

index 72148f0fbfccdfe9598e1013cd898f12b1cf7e02..e15cbefcb6e396cf17f3da95614255f637fd2944 100644 (file)
@@ -357,7 +357,7 @@ static struct net_device_stats *skge_get_stats(struct net_device *dev)
        skge->net_stats.rx_bytes = data[1];
        skge->net_stats.tx_packets = data[2] + data[4] + data[6];
        skge->net_stats.rx_packets = data[3] + data[5] + data[7];
-       skge->net_stats.multicast = data[5] + data[7];
+       skge->net_stats.multicast = data[3] + data[5];
        skge->net_stats.collisions = data[10];
        skge->net_stats.tx_aborted_errors = data[12];