]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Really fix prior.
authorRoy Marples <roy@marples.name>
Wed, 1 Apr 2015 22:06:33 +0000 (22:06 +0000)
committerRoy Marples <roy@marples.name>
Wed, 1 Apr 2015 22:06:33 +0000 (22:06 +0000)
dhcpcd.c

index 2d60a892ca87cde9f34cc5c2902cb212aa0fa8a6..3ac50afe4d8665faebdc548c2d7526508c3caddf 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -387,7 +387,7 @@ configure_interface1(struct interface *ifp)
 
        /* We want to disable kernel interface RA as early as possible. */
        if (ifo->options & DHCPCD_IPV6RS &&
-           !(ifo->options & DHCPCD_DUMPLEASE))
+           !(ifp->ctx->options & DHCPCD_DUMPLEASE))
        {
                /* If not doing any DHCP, disable the RDNSS requirement. */
                if (!(ifo->options & (DHCPCD_DHCP | DHCPCD_DHCP6)))