Use ETHER_ADDR_LEN instead of ETHER_ADDR_SIZE.

This commit is contained in:
Tor Egge 1997-06-12 19:20:53 +00:00
parent f7cf1c1d14
commit 43f83f0b47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26584

View File

@ -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);