From 43f83f0b4799c927d49dccc0465940e90c8b98ce Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Thu, 12 Jun 1997 19:20:53 +0000 Subject: [PATCH] Use ETHER_ADDR_LEN instead of ETHER_ADDR_SIZE. --- sys/i386/boot/netboot/ns8390.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/boot/netboot/ns8390.c b/sys/i386/boot/netboot/ns8390.c index c63846e40bf9..22f78fcbbcdb 100644 --- a/sys/i386/boot/netboot/ns8390.c +++ b/sys/i386/boot/netboot/ns8390.c @@ -425,7 +425,7 @@ eth_transmit(d,t,s,p) #ifdef INCLUDE_3COM if (eth_vendor == VENDOR_3COM) { bcopy(d, eth_bmem, 6); /* dst */ - bcopy(eth_node_addr, eth_bmem+6, ETHER_ADDR_SIZE); /* src */ + bcopy(eth_node_addr, eth_bmem+6, ETHER_ADDR_LEN); /* src */ *(eth_bmem+12) = t>>8; /* type */ *(eth_bmem+13) = t; bcopy(p, eth_bmem+14, s);