diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-07-05 10:17:15 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-07-05 10:17:15 +0000 |
commit | bfef43251edbd3c3fa28f0d30b72535a8f7a15b3 (patch) | |
tree | 726cfe22b3babfe2079417841257ec4014caa72f /sys/netinet6/in6.c | |
parent | 0dedec12c7821ba32935ac6700da917e9df35262 (diff) |
Expand IN6_IFF_NOTREADY, ok bluhm@
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r-- | sys/netinet6/in6.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index c775786b6f6..0de02a67d8d 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.187 2016/06/13 10:34:40 mpi Exp $ */ +/* $OpenBSD: in6.c,v 1.188 2016/07/05 10:17:14 mpi Exp $ */ /* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */ /* @@ -1637,7 +1637,8 @@ in6_ifawithscope(struct ifnet *oifp, struct in6_addr *dst, u_int rdomain) * Don't use an address before completing DAD * nor a duplicated address. */ - if (ifatoia6(ifa)->ia6_flags & IN6_IFF_NOTREADY) + if (ifatoia6(ifa)->ia6_flags & + (IN6_IFF_TENTATIVE|IN6_IFF_DUPLICATED)) continue; /* XXX: is there any case to allow anycasts? */ |