summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-01-10 20:05:30 +0100
committerThomas Haller <thaller@redhat.com>2017-01-12 12:59:07 +0100
commit304e2f56af90123af99343a5c9671699a75dca94 (patch)
treec3896bb7b774651598e23db735b3865ad5f496d3
parent9b9a18059787ad13cc10058cfa15b153a695a007 (diff)
device: allow reapplying a connection with differing stable-id
The stable-id for one activation cannot actually change. This is also, because we cache it as priv->current_stable_id. Still, allow reapply with a differing stable-id for convenience.
-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 bd53b0967a..75fbcb2bc9 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -8396,6 +8396,7 @@ reapply_connection (NMDevice *self,
error,
NM_SETTING_CONNECTION_ID,
NM_SETTING_CONNECTION_UUID,
+ NM_SETTING_CONNECTION_STABLE_ID,
NM_SETTING_CONNECTION_AUTOCONNECT,
NM_SETTING_CONNECTION_ZONE,
NM_SETTING_CONNECTION_METERED))