]> git.ipfire.org Git - thirdparty/systemd.git/commit
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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 23 Feb 2021 10:36:23 +0000 (19:36 +0900)
commit1e84213a433f8a80c94dea34514744cc4937efd0
treee4aff4479b3d5c53f61846396a4e43c99451b0b2
parentcf6c33bd6b6ca606f0756312bd73ae066c6aa9a8
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.
src/libsystemd-network/dhcp6-option.c