mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 23:28:08 +02:00
cli: don't force interface name on add_and_activate
The daemon is already responsible for pinning the connection to a particular device. In fact, it may choose to use a different means than an interface name, such as a MAC address or a gsm.device-id. Remove it from the client. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/140
This commit is contained in:
parent
f307034b91
commit
9c24c81ad0
1 changed files with 0 additions and 1 deletions
|
|
@ -1897,7 +1897,6 @@ create_connect_connection_for_device (AddAndActivateInfo *info)
|
|||
nm_connection_add_setting (connection, NM_SETTING (s_con));
|
||||
g_object_set (s_con,
|
||||
NM_SETTING_CONNECTION_ID, nm_device_get_iface (info->device),
|
||||
NM_SETTING_CONNECTION_INTERFACE_NAME, nm_device_get_iface (info->device),
|
||||
NULL);
|
||||
|
||||
nm_client_add_and_activate_connection_async (info->nmc->client,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue