]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: make dhcp6_option_parse_status() also parse error message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Sep 2021 07:30:40 +0000 (16:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 29 Sep 2021 06:29:36 +0000 (15:29 +0900)
commit4af39cb8ecdf55fc0238bf3149696946f6f28fca
tree20ef75b572cc26377fa1bf86bf41166a9232c663
parente620104956dff64244c0e73e86c3138c0b13b875
sd-dhcp6-client: make dhcp6_option_parse_status() also parse error message

This also introduce dhcp6_option_parse_ia_options(). Currently, it is
assumed that each IA address or PD prefix may contain a status sub-option.
But it is not prohibited that other sub-options or multiple status
options are contained.
src/libsystemd-network/dhcp6-internal.h
src/libsystemd-network/dhcp6-option.c
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/test-dhcp6-client.c