]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on NetBSD.
authorRoy Marples <roy@marples.name>
Fri, 24 Mar 2017 21:36:56 +0000 (21:36 +0000)
committerRoy Marples <roy@marples.name>
Fri, 24 Mar 2017 21:36:56 +0000 (21:36 +0000)
src/ipv6nd.c

index c6ec085f73003a253352dbdc4b78b30ac232a993..d80183dcb50e7a46602ba087fb21fb0ab5cdca90 100644 (file)
@@ -1025,7 +1025,6 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx, struct interface *ifp,
 #ifdef IPV6_MANAGETEMPADDR
                        /* RFC4941 Section 3.3.3 */
                        if (ap->flags & IPV6_AF_AUTOCONF &&
-                           ap->iface->options->options & DHCPCD_IPV6RA_OWN &&
                            ip6_use_tempaddr(ap->iface->name))
                        {
                                if (!new_ap) {