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

This commit is contained in:
mdodd 2004-03-22 03:52:51 +00:00
parent 83a23fd2a4
commit 49f091a529

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;