dhcp6: make dhcp6_option_parse_{address,pdprefix}() return -EINVAL when received...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 23 Feb 2021 10:25:17 +0000 (19:25 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 12 Mar 2021 16:35:57 +0000 (17:35 +0100)
commit648aab6e766cf5ca037fb4ff4e9e8a53686afaff
treeedb8ac89e8e25a00298b6827dc28b51f4c31f70d
parenta627a95b84c470a722469320299242e5a8e25885
dhcp6: make dhcp6_option_parse_{address,pdprefix}() return -EINVAL when received address or prefix is refused

And then the caller ignores the error.
Otherwise, `ret_liftime_valid` is not set even if they succeeds.

(cherry picked from commit 1e84213a433f8a80c94dea34514744cc4937efd0)
src/libsystemd-network/dhcp6-option.c