device: don't force a restart of IP configuration on reapply

Restarting the IP configuration removes addresses and routes for a
short time breaking connectivity. The reapply process should have the
minimal impact possible.

https://bugzilla.gnome.org/show_bug.cgi?id=790061
This commit is contained in:
Beniamino Galvani 2017-11-15 21:42:52 +01:00
parent e5a8aba225
commit f4cbed3d4f

View file

@ -9416,8 +9416,8 @@ check_and_reapply_connection (NMDevice *self,
s_ip6_old = nm_connection_get_setting_ip6_config (con_old);
s_ip6_new = nm_connection_get_setting_ip6_config (con_new);
nm_device_reactivate_ip4_config (self, s_ip4_old, s_ip4_new, TRUE);
nm_device_reactivate_ip6_config (self, s_ip6_old, s_ip6_new, TRUE);
nm_device_reactivate_ip4_config (self, s_ip4_old, s_ip4_new, FALSE);
nm_device_reactivate_ip6_config (self, s_ip6_old, s_ip6_new, FALSE);
reactivate_proxy_config (self);