cli: fix crash on editing 'lo' connection (rh #1030395)
https://bugzilla.redhat.com/show_bug.cgi?id=1030395
This commit is contained in:
@@ -2063,7 +2063,7 @@ get_valid_settings_array (const char *con_type)
|
|||||||
|
|
||||||
num = G_N_ELEMENTS (nmc_valid_connection_types);
|
num = G_N_ELEMENTS (nmc_valid_connection_types);
|
||||||
for (i = 0; i < num; i++) {
|
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 nmc_valid_connection_types[i].settings;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user