Ignore case

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4253 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-11-03 19:36:40 +00:00
parent 8d3f93055f
commit d576e409d4

View file

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