summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-12-01 23:09:00 +0100
committerThomas Haller <thaller@redhat.com>2016-12-01 23:09:00 +0100
commitd29839c43091d855ae564284bda396724558a7f7 (patch)
treeca2007684644bf8e62e3980faa5d4acb6c171650
parentce2d1f062b4e376e8e424985da3a1abdc9d6daeb (diff)
downloadNetworkManager-d29839c43091d855ae564284bda396724558a7f7.tar.gz
device: allow device reapply of a connection with differing connection.autoconnect
Autoconnect property doesn't really matter for the applied connection. Whitelist it from the properties and allow changing it during reapply.
-rw-r--r--src/devices/nm-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 675778cbc4..b95dce544a 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -8192,6 +8192,7 @@ reapply_connection (NMDevice *self,
error,
NM_SETTING_CONNECTION_ID,
NM_SETTING_CONNECTION_UUID,
+ NM_SETTING_CONNECTION_AUTOCONNECT,
NM_SETTING_CONNECTION_ZONE,
NM_SETTING_CONNECTION_METERED))
return FALSE;