From 54019a403a6d345f6dae961fe56ce9907dc0e09a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Mon, 31 Aug 2015 16:32:33 +0200 Subject: [PATCH] device: give the default wired profiles the lowest autoconnect-priority Later when other connections are created, they will be preferred over the default one. https://bugzilla.redhat.com/show_bug.cgi?id=1075148#c15 --- src/devices/nm-device-ethernet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/nm-device-ethernet.c b/src/devices/nm-device-ethernet.c index 16ca35e56f..03c1d5109a 100644 --- a/src/devices/nm-device-ethernet.c +++ b/src/devices/nm-device-ethernet.c @@ -1477,6 +1477,7 @@ new_default_connection (NMDevice *self) NM_SETTING_CONNECTION_ID, defname, NM_SETTING_CONNECTION_TYPE, NM_SETTING_WIRED_SETTING_NAME, NM_SETTING_CONNECTION_AUTOCONNECT, TRUE, + NM_SETTING_CONNECTION_AUTOCONNECT_PRIORITY, NM_SETTING_CONNECTION_AUTOCONNECT_PRIORITY_MIN, NM_SETTING_CONNECTION_UUID, uuid, NM_SETTING_CONNECTION_TIMESTAMP, (guint64) time (NULL), NULL);