]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/dhcp6: do not request IA_PD when running in the other-information mode
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 20 Oct 2024 19:41:57 +0000 (04:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 21 Oct 2024 19:34:50 +0000 (04:34 +0900)
commit5ff567f74f4c3d532203e004b75657e528eb1bd5
tree5420feb192a785ba81ae803573cdd7cca68ba8ed
parente8fb0643c1bea626d5f5e880c3338f32705fd46d
network/dhcp6: do not request IA_PD when running in the other-information mode

This reverts the following commits:
180cc5421d9712fb95a6bbc725dc8ba459360c8b
  "sd-dhcp6-client: allow to request IA_PD on information requesting mode"
cf7a403e470368049165ecff7ac7686928778d7c
  "sd-dhcp6-lease: adjust information refresh time with lifetime of IA_PD"
1918eda30d12e1ba3ee55921c18ec53267463e24
  "network/dhcp6: process hostname and IA_PD on information requesting mode"

As per discussion in #34299,
https://github.com/systemd/systemd/issues/34299#issuecomment-2425153221
the offending commits violate RFC 8415 section 18.2.6:
> The client uses an Information-request message to obtain
> configuration information without having addresses and/or delegated
> prefixes assigned to it.
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/sd-dhcp6-lease.c
src/libsystemd-network/test-dhcp6-client.c
src/network/networkd-dhcp6.c