]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We need to check kernel IPv6 setup for the interface if doing any IPv6, not just RS.
authorRoy Marples <roy@marples.name>
Sat, 12 Sep 2015 20:19:31 +0000 (20:19 +0000)
committerRoy Marples <roy@marples.name>
Sat, 12 Sep 2015 20:19:31 +0000 (20:19 +0000)
dhcpcd.c

index 0e5afdbc0a95d4043f70b0bf70e00f3f401456a7..b61b99d0a3a86d337ebabf5e5b034690e5f25fb6 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -453,7 +453,7 @@ configure_interface1(struct interface *ifp)
                ifo->options |= DHCPCD_IPV6RA_OWN;
 
        /* We want to disable kernel interface RA as early as possible. */
-       if (ifo->options & DHCPCD_IPV6RS &&
+       if (ifo->options & DHCPCD_IPV6 &&
            !(ifp->ctx->options & DHCPCD_DUMPLEASE))
        {
                /* If not doing any DHCP, disable the RDNSS requirement. */