summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-11-23 21:10:10 +0000
committerRoy Marples <roy@marples.name>2016-11-23 21:10:10 +0000
commitb4e9fb4df0c1b957e586de9975073e10d25a1b78 (patch)
tree72157db0d3217bd96bf89fa6c08d3e2d16ccfac5
parente26d96a8a1adf4f935b898ba80baedc781ac7fe0 (diff)
downloaddhcpcd-b4e9fb4df0c1b957e586de9975073e10d25a1b78.tar.xz
Fix IPv6 DAD on OpenBSD.
-rw-r--r--ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipv6.c b/ipv6.c
index c51a1efb..95665f4e 100644
--- 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,