diff options
author | 2014-07-01 19:37:07 +0000 | |
---|---|---|
committer | 2014-07-01 19:37:07 +0000 | |
commit | 2a5d71df23b23654fc2843d669521954b927191e (patch) | |
tree | 3c21b80257987e1dcd875be4bd2fefcbd2a75e53 | |
parent | Adding an additonal delay after each access to SystemMemory or SystemIO (diff) | |
download | wireguard-openbsd-2a5d71df23b23654fc2843d669521954b927191e.tar.xz wireguard-openbsd-2a5d71df23b23654fc2843d669521954b927191e.zip |
When a carp interface is created with IFXF_NOINET6 flag, no link-local
address will be created when the vhid (and MAC) is set. Depending on
the order of the configuration the interface can end up with a ipv6
address, but no v6 link-local and no working neigbor discovery.
Removing this case statement will result in the link-local address
being configured by "ifconfig up" if the inet6 address was configured
before. If you are using inet6 on carp, put an "up" at the end of your
hostname.if. I will work on a better solution at g2k14.
ok henning, mpi
-rw-r--r-- | sys/netinet6/in6_ifattach.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index 37059e1c21c..93620c48377 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_ifattach.c,v 1.71 2014/06/26 13:08:25 mpi Exp $ */ +/* $OpenBSD: in6_ifattach.c,v 1.72 2014/07/01 19:37:07 benno Exp $ */ /* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */ /* @@ -578,17 +578,6 @@ in6_ifattach(struct ifnet *ifp) } /* - * quirks based on interface type - */ - switch (ifp->if_type) { - /* we attach a link-local address when a vhid is assigned */ - case IFT_CARP: - return; - default: - break; - } - - /* * usually, we require multicast capability to the interface */ if ((ifp->if_flags & IFF_MULTICAST) == 0) { |