diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-02-23 04:41:24 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-02-26 11:38:57 +0100 |
commit | 52672db3f80adedad2dad38a19ff44a004a319ee (patch) | |
tree | 7703b9f3d65e8733256c54d9b89e44d6984d327b /src/network/networkd-state-file.c | |
parent | Fix: Chuwi UBook X (CWI535) screen rotation matrix (diff) | |
download | systemd-52672db3f80adedad2dad38a19ff44a004a319ee.tar.xz systemd-52672db3f80adedad2dad38a19ff44a004a319ee.zip |
network/ndisc: rename Network.ipv6_accept_ra -> Network.ndisc
These settings are leated to sd-ndisc and Neighbor Discovery protocol.
Let's use more suitable name.
Diffstat (limited to '')
-rw-r--r-- | src/network/networkd-state-file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/networkd-state-file.c b/src/network/networkd-state-file.c index 859a28aa59..1cd23bb4ca 100644 --- a/src/network/networkd-state-file.c +++ b/src/network/networkd-state-file.c @@ -123,7 +123,7 @@ static int link_put_dns(Link *link, OrderedSet **s) { } } - if (link->network->ipv6_accept_ra_use_dns) { + if (link->network->ndisc_use_dns) { NDiscRDNSS *a; SET_FOREACH(a, link->ndisc_rdnss) { @@ -254,7 +254,7 @@ static int link_put_domains(Link *link, bool is_route, OrderedSet **s) { } } - if (link->network->ipv6_accept_ra_use_domains == use_domains) { + if (link->network->ndisc_use_domains == use_domains) { NDiscDNSSL *a; SET_FOREACH(a, link->ndisc_dnssl) { @@ -559,7 +559,7 @@ static void link_save_domains(Link *link, FILE *f, OrderedSet *static_domains, D fputstrv(f, domains, NULL, &space); } - if (link->network->ipv6_accept_ra_use_domains == use_domains) { + if (link->network->ndisc_use_domains == use_domains) { NDiscDNSSL *dd; SET_FOREACH(dd, link->ndisc_dnssl) @@ -675,7 +675,7 @@ static int link_save(Link *link) { sd_dhcp6_lease_get_dns, NULL); - if (link->network->ipv6_accept_ra_use_dns) { + if (link->network->ndisc_use_dns) { NDiscRDNSS *dd; SET_FOREACH(dd, link->ndisc_rdnss) |