diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-04-21 17:29:34 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-07-12 15:45:23 +0200 |
commit | 07912b6e79cd9e12321f49ccb623590f230c331c (patch) | |
tree | bbae003025f6db6a778ecda50550e49a641aa724 | |
parent | 00e0fffea221705393637d038dc61ccbc15c3585 (diff) | |
download | NetworkManager-07912b6e79cd9e12321f49ccb623590f230c331c.tar.gz |
cli: remove an extraneous _strip_master_prefix() call
verify_master_for_slave() already ensures the returned string has no prefix.
-rw-r--r-- | clients/cli/connections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index ed78d14c45..da65afc0a5 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -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); |