summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-10 12:21:36 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-10 12:21:36 +0000
commit0c2795b2cd05fc562928d327b09541d00410e736 (patch)
tree2c2bb8630065326e82f9fad6f3345bba817d4c8a /sys/netinet/if_ether.c
parent60dbcdeefe563b8ecef3452556ae0e52b8ef0fc0 (diff)
if_lladdr -> if_sadl, no functional change.
ok mikeb@
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c4
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;