summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2017-11-15 21:42:52 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2017-12-06 09:53:18 +0100
commitf4cbed3d4ff4e91e83f42c63b3602efa014ed72f (patch)
treed808fee847c26b318e2fa15e50d737ccf201e936 /src
parente5a8aba225ff77a8b02a2772c09ae537bea64a8a (diff)
downloadNetworkManager-f4cbed3d4ff4e91e83f42c63b3602efa014ed72f.tar.gz
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
Diffstat (limited to 'src')
-rw-r--r--src/devices/nm-device.c4
1 files 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);