summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-09-17 18:46:10 +0000
committerdelphij <delphij@FreeBSD.org>2013-09-17 18:46:10 +0000
commit3f1242f97fd35fd39499a5ab392f2404d6b0d456 (patch)
treecf1c2adfadc6fbefee80a80b28fcff5b5c944679 /sys/dev
parent6f381c7c573310aa336d1c71283b282b8da66ba5 (diff)
downloadFreeBSD-src-3f1242f97fd35fd39499a5ab392f2404d6b0d456.zip
FreeBSD-src-3f1242f97fd35fd39499a5ab392f2404d6b0d456.tar.gz
Fix a typo when accounting for tx_broadcast statistics.
Submitted by: Paul A. Patience <paul-a patience polymtl ca> MFC after: 2 weeks Approved by: re (hrs)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/nfe/if_nfe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c
index cd8f985..3bcda25 100644
--- a/sys/dev/nfe/if_nfe.c
+++ b/sys/dev/nfe/if_nfe.c
@@ -3260,7 +3260,7 @@ nfe_stats_update(struct nfe_softc *sc)
if ((sc->nfe_flags & NFE_MIB_V3) != 0) {
stats->tx_unicast += NFE_READ(sc, NFE_TX_UNICAST);
stats->tx_multicast += NFE_READ(sc, NFE_TX_MULTICAST);
- stats->rx_broadcast += NFE_READ(sc, NFE_TX_BROADCAST);
+ stats->tx_broadcast += NFE_READ(sc, NFE_TX_BROADCAST);
}
}
OpenPOWER on IntegriCloud