NetworkManager r4253 - trunk/system-settings/plugins/ifcfg-fedora
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4253 - trunk/system-settings/plugins/ifcfg-fedora
- Date: Mon, 3 Nov 2008 19:36:40 +0000 (UTC)
Author: dcbw
Date: Mon Nov 3 19:36:40 2008
New Revision: 4253
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4253&view=rev
Log:
Ignore case
Modified:
trunk/system-settings/plugins/ifcfg-fedora/reader.c
Modified: trunk/system-settings/plugins/ifcfg-fedora/reader.c
==============================================================================
--- trunk/system-settings/plugins/ifcfg-fedora/reader.c (original)
+++ trunk/system-settings/plugins/ifcfg-fedora/reader.c Mon Nov 3 19:36:40 2008
@@ -990,9 +990,9 @@
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]