]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix IPv6 DAD on OpenBSD.
authorRoy Marples <roy@marples.name>
Wed, 23 Nov 2016 21:10:10 +0000 (21:10 +0000)
committerRoy Marples <roy@marples.name>
Wed, 23 Nov 2016 21:10:10 +0000 (21:10 +0000)
ipv6.c

diff --git a/ipv6.c b/ipv6.c
index c51a1efb5f5e32c2e1876b776689a1a892874355..95665f4edb127548787337f981275c4c0dfc6d60 100644 (file)
--- a/ipv6.c
+++ b/ipv6.c
@@ -566,7 +566,7 @@ ipv6_checkaddrflags(void *arg)
                return;
        }
 
-       if (!(ia->addr_flags & IN6_IFF_TENTATIVE)) {
+       if (!(flags & IN6_IFF_TENTATIVE)) {
                /* Simulate the kernel announcing the new address. */
                ipv6_handleifa(ia->iface->ctx, RTM_NEWADDR,
                    ia->iface->ctx->ifaces, ia->iface->name,