summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-11-23 21:12:03 +0000
committerRoy Marples <roy@marples.name>2016-11-23 21:12:03 +0000
commita2d467862af19bdf8f3889d11111f7e7dee63ed6 (patch)
treecb57c07c0f7d367e60f2697b6fcc04aa17ba1245
parentc1dad506f80cef01fa67a0a0c37313df098a4961 (diff)
parentb4e9fb4df0c1b957e586de9975073e10d25a1b78 (diff)
downloaddhcpcd-a2d467862af19bdf8f3889d11111f7e7dee63ed6.tar.xz
Fix DAD on OpenBSD.
-rw-r--r--ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipv6.c b/ipv6.c
index ff48c44a..b3719096 100644
--- a/ipv6.c
+++ b/ipv6.c
@@ -583,7 +583,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,