]> git.ipfire.org Git - thirdparty/systemd.git/commit
network,dhcp: restart client with 'networkctl renew' when delayed by IPv6 only mode 29633/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Oct 2023 16:35:03 +0000 (01:35 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 20 Oct 2023 16:54:08 +0000 (01:54 +0900)
commit0bc30a20382d944908897c226e5675f7152b38f5
tree85b9b05c55e7821b34ac643550e86aac50bab333
parent95bd6816d7f09a1505727d86cc3ce79d98f256d3
network,dhcp: restart client with 'networkctl renew' when delayed by IPv6 only mode

This is convenient when the server supports IPv6 only mode.
Otherwise, we cannot request a new address during the client is waiting an
IPv6 connectivity. Note, the minimal timespan is 5min, and a server may
send a quite large value.
src/libsystemd-network/sd-dhcp-client.c
src/network/networkd-dhcp4.c
src/network/networkd-dhcp4.h
src/network/networkd-link-bus.c
src/systemd/sd-dhcp-client.h