diff --git a/sys/arch/i386/stand/lib/netif/i82557.c b/sys/arch/i386/stand/lib/netif/i82557.c index 92db5230aff1..52f0cba35626 100644 --- a/sys/arch/i386/stand/lib/netif/i82557.c +++ b/sys/arch/i386/stand/lib/netif/i82557.c @@ -1,4 +1,4 @@ -/* $NetBSD: i82557.c,v 1.6 2002/01/24 02:44:11 gson Exp $ */ +/* $NetBSD: i82557.c,v 1.7 2002/01/24 02:52:15 gson Exp $ */ /* * Copyright (c) 1998, 1999 @@ -413,7 +413,7 @@ EtherReceive(pkt, maxlen) if (rfa->rfa_status & FXP_RFA_STATUS_C) { len = rfa->actual_size & 0x7ff; if (len <= maxlen) { - memcpy(pkt, (caddr_t)(rfa + 1), maxlen); + memcpy(pkt, (caddr_t) rfa + RFA_SIZE, maxlen); #if 0 printf("rfa status=%x, len=%x\n", rfa->rfa_status, len);