mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
networkd: use ipv6_accept_ra_use_dns rather than dhcp_use_dns (#8836)
While Saving the DNS server use [IPv6AcceptRA] UseDNS= that is ipv6_accept_ra_use_dns. Closes #8420
This commit is contained in:
parent
3e7aa2edcd
commit
b296797f1c
@ -3531,7 +3531,7 @@ int link_save(Link *link) {
|
||||
/* Make sure to flush out old entries before we use the NDISC data */
|
||||
ndisc_vacuum(link);
|
||||
|
||||
if (link->network->dhcp_use_dns && link->ndisc_rdnss) {
|
||||
if (link->network->ipv6_accept_ra_use_dns && link->ndisc_rdnss) {
|
||||
NDiscRDNSS *dd;
|
||||
|
||||
SET_FOREACH(dd, link->ndisc_rdnss, i) {
|
||||
|
Loading…
Reference in New Issue
Block a user