diff options
author | ru <ru@FreeBSD.org> | 2005-11-11 12:17:31 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-11-11 12:17:31 +0000 |
commit | ec1697067958cd5395dc4db2ef0cb1ce54dc746e (patch) | |
tree | 0661ceef4cecc549393ddd1aff0d169d386cb8b6 /sys/netatalk | |
parent | 24afcaae818a704f924f89cd18fcd660e2a72204 (diff) | |
download | FreeBSD-src-ec1697067958cd5395dc4db2ef0cb1ce54dc746e.zip FreeBSD-src-ec1697067958cd5395dc4db2ef0cb1ce54dc746e.tar.gz |
Catch up with IFP2ENADDR() type change (array -> pointer).
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/aarp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c index 6806491..50c5ced 100644 --- a/sys/netatalk/aarp.c +++ b/sys/netatalk/aarp.c @@ -360,8 +360,7 @@ at_aarpinput(struct ifnet *ifp, struct mbuf *m) ea = mtod(m, struct ether_aarp *); /* Check to see if from my hardware address */ - if (!bcmp((caddr_t)ea->aarp_sha, IFP2ENADDR(ifp), - sizeof(IFP2ENADDR(ifp)))) { + if (!bcmp((caddr_t)ea->aarp_sha, IFP2ENADDR(ifp), ETHER_ADDR_LEN)) { m_freem(m); return; } |