summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/sd-dhcp6-lease.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-04-03 12:44:04 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-03 12:50:02 +0200
commitf697ab358a7423e847c98904152fa15f916eac94 (patch)
treeb4d8ea05ed64042c78edf0921eb41bae9a1cb41e /src/libsystemd-network/sd-dhcp6-lease.c
parentsd-dhcp6-client: sort requesting options (diff)
downloadsystemd-f697ab358a7423e847c98904152fa15f916eac94.tar.xz
systemd-f697ab358a7423e847c98904152fa15f916eac94.zip
dhcp: make option names singular
Diffstat (limited to 'src/libsystemd-network/sd-dhcp6-lease.c')
-rw-r--r--src/libsystemd-network/sd-dhcp6-lease.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-network/sd-dhcp6-lease.c b/src/libsystemd-network/sd-dhcp6-lease.c
index a4cc2c920c..2475cdb7ed 100644
--- a/src/libsystemd-network/sd-dhcp6-lease.c
+++ b/src/libsystemd-network/sd-dhcp6-lease.c
@@ -570,14 +570,14 @@ static int dhcp6_lease_parse_message(
break;
- case SD_DHCP6_OPTION_DNS_SERVERS:
+ case SD_DHCP6_OPTION_DNS_SERVER:
r = dhcp6_lease_add_dns(lease, optval, optlen);
if (r < 0)
log_dhcp6_client_errno(client, r, "Failed to parse DNS server option, ignoring: %m");
break;
- case SD_DHCP6_OPTION_DOMAIN_LIST:
+ case SD_DHCP6_OPTION_DOMAIN:
r = dhcp6_lease_add_domains(lease, optval, optlen);
if (r < 0)
log_dhcp6_client_errno(client, r, "Failed to parse domain list option, ignoring: %m");
@@ -591,7 +591,7 @@ static int dhcp6_lease_parse_message(
break;
- case SD_DHCP6_OPTION_SNTP_SERVERS:
+ case SD_DHCP6_OPTION_SNTP_SERVER:
r = dhcp6_lease_add_sntp(lease, optval, optlen);
if (r < 0)
log_dhcp6_client_errno(client, r, "Failed to parse SNTP server option, ignoring: %m");