diff options
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r-- | sys/netinet/if_ether.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 828f1f08681..b72235d73db 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.118 2014/01/22 06:28:09 claudio Exp $ */ +/* $OpenBSD: if_ether.c,v 1.119 2014/03/10 12:21:35 mpi Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -849,7 +849,7 @@ arpproxy(struct in_addr in, u_int rdomain) continue; if (!memcmp(LLADDR((struct sockaddr_dl *)la->la_rt->rt_gateway), - LLADDR((struct sockaddr_dl *)ifp->if_lladdr->ifa_addr), + LLADDR(ifp->if_sadl), ETHER_ADDR_LEN)) { found = 1; break; |