diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-24 07:16:44 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-29 08:29:41 +0200 |
commit | 41b14f03297ccecdee9429c447cc85b471d3df21 (patch) | |
tree | c16a7514dfb3a9529a54066eba82c1018d0eca96 /src/libsystemd-network/test-dhcp6-client.c | |
parent | sd-dhcp6-client: make dhcp6_lease_free() accepts NULL (diff) | |
download | systemd-41b14f03297ccecdee9429c447cc85b471d3df21.tar.xz systemd-41b14f03297ccecdee9429c447cc85b471d3df21.zip |
sd-dhcp6-client: support multiple domains
Diffstat (limited to 'src/libsystemd-network/test-dhcp6-client.c')
-rw-r--r-- | src/libsystemd-network/test-dhcp6-client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsystemd-network/test-dhcp6-client.c b/src/libsystemd-network/test-dhcp6-client.c index e711e1d9f5..665000ef45 100644 --- a/src/libsystemd-network/test-dhcp6-client.c +++ b/src/libsystemd-network/test-dhcp6-client.c @@ -516,8 +516,7 @@ static int test_advertise_option(sd_event *e) { case SD_DHCP6_OPTION_DOMAIN_LIST: assert_se(optlen == 11); - assert_se(dhcp6_lease_set_domains(lease, optval, - optlen) >= 0); + assert_se(dhcp6_lease_add_domains(lease, optval, optlen) >= 0); break; case SD_DHCP6_OPTION_SNTP_SERVERS: |