From f4cbed3d4ff4e91e83f42c63b3602efa014ed72f Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 15 Nov 2017 21:42:52 +0100 Subject: [PATCH] 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 --- src/devices/nm-device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index f79b85e8c2..a8fd6cace7 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -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);