summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-ndisc.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-04-15 07:47:44 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-04-19 03:23:00 +0200
commit78f5c649e2e6b449574e1e81ec4f929b2ef516fb (patch)
treee97ad6269d92599973a6a0b892843f3117177319 /src/network/networkd-ndisc.c
parentcopy: ignore -EOPNOTSUPP from copy_file_range() (diff)
downloadsystemd-78f5c649e2e6b449574e1e81ec4f929b2ef516fb.tar.xz
systemd-78f5c649e2e6b449574e1e81ec4f929b2ef516fb.zip
network: rename DHCPUseDomains -> UseDomains
As it is also used for NDisc.
Diffstat (limited to 'src/network/networkd-ndisc.c')
-rw-r--r--src/network/networkd-ndisc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c
index 4720f616d5..9d7cdbb4a2 100644
--- a/src/network/networkd-ndisc.c
+++ b/src/network/networkd-ndisc.c
@@ -1501,7 +1501,7 @@ static int ndisc_router_process_dnssl(Link *link, sd_ndisc_router *rt) {
assert(link->network);
assert(rt);
- if (link->network->ndisc_use_domains == DHCP_USE_DOMAINS_NO)
+ if (link->network->ndisc_use_domains == USE_DOMAINS_NO)
return 0;
r = sd_ndisc_router_get_sender_address(rt, &router);
@@ -2483,7 +2483,5 @@ static const char* const ndisc_start_dhcp6_client_table[_IPV6_ACCEPT_RA_START_DH
DEFINE_PRIVATE_STRING_TABLE_LOOKUP_FROM_STRING_WITH_BOOLEAN(ndisc_start_dhcp6_client, IPv6AcceptRAStartDHCP6Client, IPV6_ACCEPT_RA_START_DHCP6_CLIENT_YES);
-DEFINE_CONFIG_PARSE_ENUM(config_parse_ndisc_use_domains, dhcp_use_domains, DHCPUseDomains,
- "Failed to parse UseDomains= setting");
DEFINE_CONFIG_PARSE_ENUM(config_parse_ndisc_start_dhcp6_client, ndisc_start_dhcp6_client, IPv6AcceptRAStartDHCP6Client,
"Failed to parse DHCPv6Client= setting");