1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00

MAC addresses are 8 bits in ARCNET. Adjust bcopy().

This commit is contained in:
Matthew N. Dodd 2004-03-22 03:52:51 +00:00
parent e0af0ab104
commit fd5bc0548f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127290

View File

@ -163,9 +163,9 @@ arc_output(ifp, m, dst, rt0)
}
if (m->m_flags & M_BCAST)
bcopy(ifp->if_broadcastaddr, adst, ARC_ADDR_LEN);
bcopy(ifp->if_broadcastaddr, &adst, ARC_ADDR_LEN);
else
bcopy(ar_tha(ah), adst, ARC_ADDR_LEN);
bcopy(ar_tha(ah), &adst, ARC_ADDR_LEN);
}
break;