]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: set lease expiration timer in client_enter_bound_state()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 6 Feb 2022 17:36:55 +0000 (02:36 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Feb 2022 05:45:14 +0000 (14:45 +0900)
commit3bb18e707c5209d7f051fa22682c10136d22a33e
tree02c60a93a54d2542ac64725390851158a778d8e0
parent30b31359b04f29af9d490b0f4cb0ee9b5aa3a8e4
sd-dhcp6-client: set lease expiration timer in client_enter_bound_state()

The timer must be active until the client get re-enter bound state,
and the timeout must be determined by the lease acquired when entering
the bound state.
src/libsystemd-network/dhcp6-internal.h
src/libsystemd-network/dhcp6-lease-internal.h
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/sd-dhcp6-lease.c