mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-28 04:25:19 +08:00
Really fix prior.
This commit is contained in:
parent
0cfe2784a2
commit
af3e4deb5b
2
dhcpcd.c
2
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)))
|
||||
|
Loading…
Reference in New Issue
Block a user