mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 01:40:19 +01:00
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
This commit is contained in:
parent
b3b0b46250
commit
54019a403a
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue