]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-dhcp-server.c
network: check link state with link_is_ready_to_configure() before configuring DHCP...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 May 2022 11:48:18 +0000 (20:48 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 5 Aug 2022 12:49:27 +0000 (21:49 +0900)
commit4b482e8bf4763320d05aeb4b4e31b21b433b1123
tree05b8ea4a86855c544b6e1f9cf7e3a7df28f69da8
parent2fd3908b5c4d716b3eac450b2e529a08455d048e
network: check link state with link_is_ready_to_configure() before configuring DHCP client or friends

Otherwise, DHCP client or friends may started before link-layer properties,
e.g. MAC address, being configured or the link being activated.
src/network/netdev/l2tp-tunnel.c
src/network/netdev/netdev-util.c
src/network/networkd-dhcp-server.c
src/network/networkd-dhcp4.c
src/network/networkd-dhcp6.c
src/network/networkd-ndisc.c
src/network/networkd-radv.c