Thomas Haller 2023-05-23 09:05:38 +02:00
commit 6069f75e00
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
2 changed files with 4 additions and 1 deletions

View file

@ -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,
),
),
),

View file

@ -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);