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:
parent
e0af0ab104
commit
fd5bc0548f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127290
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user