diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c index 4835b0fb5..1de88ef58 100644 --- a/clients/common/nm-meta-setting-desc.c +++ b/clients/common/nm-meta-setting-desc.c @@ -2310,6 +2310,9 @@ _complete_fcn_connection_type (ARGS_COMPLETE_FCN) const NMMetaSettingInfoEditor *setting_info = &nm_meta_setting_infos_editor[i]; const char *v; + if (!setting_info->valid_parts) + continue; + v = setting_info->alias; if (v) { if (!text || strncmp (text, v, text_len) == 0)