mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 18:24:49 +00:00
Ignore case
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4253 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
8d3f93055f
commit
d576e409d4
|
@ -990,9 +990,9 @@ connection_from_file (const char *filename,
|
|||
g_free (lower);
|
||||
}
|
||||
|
||||
if (!strcmp (type, TYPE_ETHERNET))
|
||||
if (!strcasecmp (type, TYPE_ETHERNET))
|
||||
connection = wired_connection_from_ifcfg (filename, parsed, *ignored, error);
|
||||
else if (!strcmp (type, TYPE_WIRELESS))
|
||||
else if (!strcasecmp (type, TYPE_WIRELESS))
|
||||
connection = wireless_connection_from_ifcfg (filename, parsed, *ignored, error);
|
||||
else {
|
||||
g_set_error (error, ifcfg_plugin_error_quark (), 0,
|
||||
|
|
Loading…
Reference in a new issue