summaryrefslogtreecommitdiffstats
path: root/sys/netatalk
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-11 12:17:31 +0000
committerru <ru@FreeBSD.org>2005-11-11 12:17:31 +0000
commitec1697067958cd5395dc4db2ef0cb1ce54dc746e (patch)
tree0661ceef4cecc549393ddd1aff0d169d386cb8b6 /sys/netatalk
parent24afcaae818a704f924f89cd18fcd660e2a72204 (diff)
downloadFreeBSD-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.c3
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;
}
OpenPOWER on IntegriCloud