diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-24 07:05:29 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-29 08:29:40 +0200 |
commit | edeee50b3dfccc716ffee23cfc2f2a221ed09339 (patch) | |
tree | 1aa3143a40e9ebb891691389d2b01ad7067a5cac /src/libsystemd-network/test-dhcp6-client.c | |
parent | sd-dhcp6-client: use dhcp6_option_parse() in client_parse_message() (diff) | |
download | systemd-edeee50b3dfccc716ffee23cfc2f2a221ed09339.tar.xz systemd-edeee50b3dfccc716ffee23cfc2f2a221ed09339.zip |
sd-dhcp6-client: drop domains_count and ntp_fqdn_count
Diffstat (limited to 'src/libsystemd-network/test-dhcp6-client.c')
-rw-r--r-- | src/libsystemd-network/test-dhcp6-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-dhcp6-client.c b/src/libsystemd-network/test-dhcp6-client.c index d77b39b0d7..e711e1d9f5 100644 --- a/src/libsystemd-network/test-dhcp6-client.c +++ b/src/libsystemd-network/test-dhcp6-client.c @@ -137,7 +137,7 @@ static int test_parse_domain(sd_event *e) { data = (uint8_t []) { 7, 'e', 'x', 'a', 'm', 'p', 'l', 'e', 3, 'c', 'o', 'm', 0, 6, 'f', 'o', 'o', 'b', 'a', 'r', 0 }; r = dhcp6_option_parse_domainname_list(data, 21, &list); - assert_se(r == 2); + assert_se(r == 0); assert_se(list); assert_se(streq(list[0], "example.com")); assert_se(streq(list[1], "foobar")); |