diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-07 10:34:35 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-07 10:46:37 +0200 |
commit | 3df250cf6c6799fb7c0aad4840258c9912d3273e (patch) | |
tree | b211f5e085024cbe1288eb34da1ff0344978b80c | |
parent | 4ed72fa658c03790700ba9084e9328fe38afdee9 (diff) | |
download | NetworkManager-lr/cli-ifname-add-and-activate.tar.gz |
cli: don't force interface name on add_and_activatelr/cli-ifname-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.
-rw-r--r-- | clients/cli/devices.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c index 0a0c3159e3..1285972876 100644 --- a/clients/cli/devices.c +++ b/clients/cli/devices.c @@ -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, |