mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 17:48:07 +02:00
cli: merge branch 'th/cli-secondaries-escape-delimiter'
https://bugzilla.redhat.com/show_bug.cgi?id=2177209 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1635
This commit is contained in:
commit
6069f75e00
2 changed files with 4 additions and 1 deletions
|
|
@ -5606,7 +5606,7 @@ static const NMMetaPropertyInfo *const property_infos_CONNECTION[] = {
|
|||
.remove_by_idx_fcn_u32 = MULTILIST_REMOVE_BY_IDX_FCN_U32 (NMSettingConnection, nm_setting_connection_remove_secondary),
|
||||
.remove_by_value_fcn = MULTILIST_REMOVE_BY_VALUE_FCN (NMSettingConnection, nm_setting_connection_remove_secondary_by_value),
|
||||
.validate2_fcn = _multilist_validate2_fcn_uuid,
|
||||
.strsplit_plain = TRUE,
|
||||
.strsplit_with_spaces = TRUE,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -366,6 +366,9 @@ _set_fcn_precheck_connection_secondaries(NMClient *client,
|
|||
if (!strv0)
|
||||
return TRUE;
|
||||
|
||||
if (!client)
|
||||
return TRUE;
|
||||
|
||||
connections = nm_client_get_connections(client);
|
||||
|
||||
strv = g_strdupv((char **) strv0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue