diff options
author | 2015-10-25 11:58:11 +0000 | |
---|---|---|
committer | 2015-10-25 11:58:11 +0000 | |
commit | dcb17c31bf7404748e80f11c1acaec2123371507 (patch) | |
tree | c478650cab74ff7f4d1a794f3afd8fdf9597587a /sys/netinet/ip_carp.c | |
parent | backout; many issues remain... (diff) | |
download | wireguard-openbsd-dcb17c31bf7404748e80f11c1acaec2123371507.tar.xz wireguard-openbsd-dcb17c31bf7404748e80f11c1acaec2123371507.zip |
Introduce if_rtrequest() the successor of ifa_rtrequest().
L2 resolution depends on the protocol (encoded in the route entry) and
an ``ifp''. Not having to care about an ``ifa'' makes our life easier
in our MP effort. Fewer dependencies between data structures implies
fewer headaches.
Discussed with bluhm@, ok claudio@
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r-- | sys/netinet/ip_carp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 8dd1a3520a1..001be8ffc8a 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.277 2015/10/22 13:30:29 mpi Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.278 2015/10/25 11:58:11 mpi Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -2097,7 +2097,6 @@ carp_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr) switch (ifa->ifa_addr->sa_family) { case AF_INET: sc->sc_if.if_flags |= IFF_UP; - ifa->ifa_rtrequest = arp_rtrequest; error = carp_set_addr(sc, satosin(ifa->ifa_addr)); break; #ifdef INET6 |