diff options
author | dg <dg@FreeBSD.org> | 1997-10-17 06:27:44 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1997-10-17 06:27:44 +0000 |
commit | 214d27ba036a0504c0604bc1503b42e877cb4d75 (patch) | |
tree | d9730bae060793769b70abaaf6b015d41966f150 /sys/dev/fxp | |
parent | 7484bbe28efc698bd11fed0c0cb65dc95438ecec (diff) | |
download | FreeBSD-src-214d27ba036a0504c0604bc1503b42e877cb4d75.zip FreeBSD-src-214d27ba036a0504c0604bc1503b42e877cb4d75.tar.gz |
Fixed a bug where input packets were counted twice - messing up the
stats.
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index a71dbea..e974f9d 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -27,7 +27,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_fxp.c,v 1.42 1997/09/30 10:50:45 davidg Exp $ + * $Id: if_fxp.c,v 1.43 1997/09/30 11:28:24 davidg Exp $ */ /* @@ -1053,7 +1053,6 @@ fxp_stats_update(arg) ifp->if_opackets += sp->tx_good; ifp->if_collisions += sp->tx_total_collisions; - ifp->if_ipackets += sp->rx_good; if (sp->rx_good) { ifp->if_ipackets += sp->rx_good; sc->rx_idle_secs = 0; |