]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: do not change to configuring state needlessly
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 13 Jul 2019 15:02:44 +0000 (00:02 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 14 Jul 2019 05:37:12 +0000 (07:37 +0200)
commitb425c3ae02bdedb6fbf7e5de4ff222f38200aa04
tree28e63d4a632daf4d9a9f61fc913f86e84113ba22
parente869ba5dcb2dfa684b26c7f5ba83f238c779ce62
network: do not change to configuring state needlessly

When DHCP or any other dynamic addresses are changed, then
link_request_set_routes() is invoked, and even if no static routes
are configured, the operational state is needlessly changed to
configuring state.
This makes the state is changed only when static routes are configured.
src/network/networkd-link.c