mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 23:40:10 +01:00
cli: fix crash on editing 'lo' connection (rh #1030395)
https://bugzilla.redhat.com/show_bug.cgi?id=1030395
This commit is contained in:
parent
2086cab127
commit
dbba05a3db
1 changed files with 1 additions and 1 deletions
|
|
@ -2063,7 +2063,7 @@ get_valid_settings_array (const char *con_type)
|
|||
|
||||
num = G_N_ELEMENTS (nmc_valid_connection_types);
|
||||
for (i = 0; i < num; i++) {
|
||||
if (!strcmp (con_type, nmc_valid_connection_types[i].name))
|
||||
if (!g_strcmp0 (con_type, nmc_valid_connection_types[i].name))
|
||||
return nmc_valid_connection_types[i].settings;
|
||||
}
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue