summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/if_ether.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index a1fe24984ac..031ec9dc3a2 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.c,v 1.194 2015/12/02 16:35:53 bluhm Exp $ */
+/* $OpenBSD: if_ether.c,v 1.195 2015/12/02 18:38:19 claudio Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
@@ -401,11 +401,6 @@ arpresolve(struct ifnet *ifp, struct rtentry *rt0, struct mbuf *m,
arprequest(ifp,
&satosin(rt->rt_ifa->ifa_addr)->sin_addr.s_addr,
&satosin(dst)->sin_addr.s_addr,
-#if NCARP > 0
- (rt->rt_ifp->if_type == IFT_CARP) ?
- ((struct arpcom *) rt->rt_ifp->if_softc
- )->ac_enaddr :
-#endif
ac->ac_enaddr);
else {
rt->rt_flags |= RTF_REJECT;