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-02 11:43:28 +0100
commit74ff792956277ec2a3fe7c426b2ef9ef3c03e236 (patch)
treee01ab5cd559846c5162af248e51c9ea17553e9ac
parent5dbd54552defbf968b8a15b3397a5aa1385e833b (diff)
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. (cherry picked from commit d29839c43091d855ae564284bda396724558a7f7)
-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 a4b8d2528..c93690760 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -7857,6 +7857,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;