device: unconditionally reapply IP configuration on link up
Consider the situation in which ipv4.method=auto and there is an address configured. Also, the DHCP timeout is long and there is no DHCP server. If the link is brought down temporarily, the prefix route for the static address is lost and not restored by NM because we reapply the IP configuration only when the IP state is DONE. The same can happen also for IPv6, but in that case also static IPv6 addresses are lost. We should always reapply the IP configuration when the link goes up.
Showing with 4 additions and 8 deletions