From ced5461ebea2aaf81ba40081f2cbacd9d856a738 Mon Sep 17 00:00:00 2001 From: David Greenman Date: Fri, 17 Oct 1997 06:27:44 +0000 Subject: Fixed a bug where input packets were counted twice - messing up the stats. --- sys/dev/fxp/if_fxp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index a71dbeac16de..e974f9d19451 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; -- cgit v1.3