network: update operational state or friends on reconfigure

This commit is contained in:
Yu Watanabe
2021-06-08 06:35:49 +09:00
parent 4b9a8c2b51
commit b156a95d4a
+1
View File
@@ -1654,6 +1654,7 @@ static int link_reconfigure_internal(Link *link, sd_netlink_message *m, bool for
/* Then, apply new .network file */
link->network = network_ref(network);
link_update_operstate(link, true);
link_dirty(link);
r = link_new_carrier_maps(link);