]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: do not make link in configured state when no address is assigned
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 12 Jul 2020 05:57:45 +0000 (14:57 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Jul 2020 08:15:25 +0000 (17:15 +0900)
commit659ad3a0af7ff0cef342db9e0388ef731c9e8987
tree0e0617c2564ced0f4ecfc66a8395f46fb8242805
parentd98c546dac628c119f4a1ad1de17308a79541341
network: do not make link in configured state when no address is assigned

When DHCP6 and RA are enabled, and RA does not provide any addresses,
then link may become configured state even if no address is assigned,
due to the time-lag between RA completion and DHCP reply.
This makes if DHCP is explicitly enabled, then link must have at least
one valid address to be in the configured state.
src/network/networkd-link.c