From: Roy Marples Date: Sat, 12 Sep 2015 20:19:31 +0000 (+0000) Subject: We need to check kernel IPv6 setup for the interface if doing any IPv6, not just RS. X-Git-Tag: v6.9.4~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5e909a57f2b73cb7bffab2177d0aead3a72841e;p=thirdparty%2Fdhcpcd.git We need to check kernel IPv6 setup for the interface if doing any IPv6, not just RS. --- diff --git a/dhcpcd.c b/dhcpcd.c index 0e5afdbc..b61b99d0 100644 --- 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. */