]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: make link enter failed state when a configuration fails
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 14 Jul 2019 15:35:49 +0000 (00:35 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 15 Jul 2019 12:52:06 +0000 (21:52 +0900)
commit4ff296b02411bb4f0dc38f48cbab06f8645d2a08
treec2a6711e50df7eb96553f8cd3723abdb4a1eaf44
parent8eb0cafeb0aa6687e02f45e92e60fdbad7c485c0
network: make link enter failed state when a configuration fails

Some path of configuring address, route or etc., go to failed state, but
some do not. E.g., failure in address configuration which is provided by
DHCPv4 goes to failed state, but static address does not.

This is just for consistency. This should not change anything if
everything is fine.

This also voidify manager_rtnl_process_address().
src/network/networkd-address-label.c
src/network/networkd-dhcp4.c
src/network/networkd-dhcp6.c
src/network/networkd-fdb.c
src/network/networkd-ipv4ll.c
src/network/networkd-link.c
src/network/networkd-ndisc.c
src/network/networkd-neighbor.c
src/network/networkd-routing-policy-rule.c