network: drop managed configs on reconfigure when KeepConfiguration=yes
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Feb 2022 10:57:09 +0000 (19:57 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Feb 2022 11:01:42 +0000 (20:01 +0900)
commit81db4f3dd8cd5300b203379443091f4b462b5a29
tree6ad1756cb71ee742e4b711f38a257b11edbf3ae4
parent07c160a65c16245bdc1fe8adee8c89370b149d39
network: drop managed configs on reconfigure when KeepConfiguration=yes

Otherwise, the managed configs, that is addresses, routes and so on
configured by the previously assigned .network file will not be dropped
on reconfiguring the interface.
src/network/networkd-link.c