]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: modernize dhcp6_option_parse_ia()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Sep 2021 15:50:01 +0000 (00:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 29 Sep 2021 06:29:40 +0000 (15:29 +0900)
commit8a8955507af363c31297bbc5df79852db4ad39d6
treed3f322dfe1edc7c94733f9fef3021e8177e8bcf1
parent4af39cb8ecdf55fc0238bf3149696946f6f28fca
sd-dhcp6-client: modernize dhcp6_option_parse_ia()

This makes
- the function not update the arguments for storing results on error,
- use dhcp6_option_parse() to parse sub options,
- ignore all errors, except for -ENOMEM, in parsing sub options,
- update log messages.
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