summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-11-21 09:08:39 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-11-21 09:08:39 +0000
commitcfd880802176cffecd17676c29261c19cd3e15aa (patch)
treece106b989ac190fbffa5f2e04e18b8d99ed20bd1 /sys/netinet/if_ether.c
parent54ca64387a2ceb284dc45608d7825f081761532e (diff)
Replace the last usage of IA_SIN() and kill this macro.
ok henning@, sthen@, mikeb@, deraadt@
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index dd3a641d76b..ecf3b89e1d6 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.c,v 1.111 2013/11/11 09:15:34 mpi Exp $ */
+/* $OpenBSD: if_ether.c,v 1.112 2013/11/21 09:08:38 mpi Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
@@ -868,8 +868,8 @@ arp_ifinit(struct arpcom *ac, struct ifaddr *ifa)
/* Warn the user if another station has this IP address. */
arprequest(&ac->ac_if,
- &(IA_SIN(ifa)->sin_addr.s_addr),
- &(IA_SIN(ifa)->sin_addr.s_addr),
+ &satosin(ifa->ifa_addr)->sin_addr.s_addr,
+ &satosin(ifa->ifa_addr)->sin_addr.s_addr,
ac->ac_enaddr);
ifa->ifa_rtrequest = arp_rtrequest;
ifa->ifa_flags |= RTF_CLONING;