mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 02:40:11 +01:00
cli: remove an extraneous _strip_master_prefix() call
verify_master_for_slave() already ensures the returned string has no prefix.
This commit is contained in:
parent
00e0fffea2
commit
07912b6e79
1 changed files with 1 additions and 1 deletions
|
|
@ -4322,7 +4322,7 @@ complete_slave (NMSettingConnection *s_con,
|
|||
|
||||
/* Change properties in 'connection' setting */
|
||||
g_object_set (s_con,
|
||||
NM_SETTING_CONNECTION_MASTER, checked_master ? checked_master : _strip_master_prefix (master, NULL),
|
||||
NM_SETTING_CONNECTION_MASTER, checked_master,
|
||||
NULL);
|
||||
|
||||
g_free (master_ask);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue