diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2015-08-31 16:32:33 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2015-09-04 09:53:59 +0200 |
commit | 54019a403a6d345f6dae961fe56ce9907dc0e09a (patch) | |
tree | 19de69128f7df4133a83e3cceccd903177186d62 | |
parent | b3b0b4625053d5647e2756bbe745652889684a21 (diff) | |
download | NetworkManager-54019a403a6d345f6dae961fe56ce9907dc0e09a.tar.gz |
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
-rw-r--r-- | src/devices/nm-device-ethernet.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |