]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: ignore broken non-critical options
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Jan 2022 11:13:03 +0000 (20:13 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Jan 2022 11:20:19 +0000 (20:20 +0900)
commit0ac9daa4a169f627f5b3f85a4cdcdbd2c2b2e2ca
tree7946d9007983e75bcb75eaa446452069a356b5a5
parent2811b1263b52af54ae93439f027af963773273ff
sd-dhcp6-client: ignore broken non-critical options

The commit b89a3758e92894162e3c2dcb594a55acff3274d5 made the validity
check of the received message stricter. E.g. if the client received a
message with broken NTP server option, then the entire message is
dropped.

This relaxes the check. If some non-critical options are broken, then
ignore the options, but the message itself is still accepted.

Fixes #22099.
src/libsystemd-network/sd-dhcp6-client.c