-
Lubomir Rintel authored
First let the device know it's being removed soon so that it has a chance to clean up the IP configuration early. If the manager removes the device fist, the policy never learns of config removal and doesn't unhook it from the DNS manager resulting in a IPConfig leak and possible wrong DNS configuration in effect. Also adjust the route manager to skip over devices without IP configuration when determining the best connection; it is perhaps just due to being removed. https://bugzilla.gnome.org/show_bug.cgi?id=764483
f72816bf