summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-10-08 16:18:04 -0700
committerDan Williams <dcbw@redhat.com>2009-10-08 16:18:04 -0700
commitc31b3e455414a5a7bf57d9fed1442367e9e4c917 (patch)
tree53de61f55a3fc304b5ff579819c3daff92b4a4fc
parente8982ab2a6cd8ae66d96b5b384febe3e3a6dacc9 (diff)
ifcfg-rh: recognize 'static' BOOTPROTO (rh #528068)
-rw-r--r--system-settings/plugins/ifcfg-rh/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-settings/plugins/ifcfg-rh/reader.c b/system-settings/plugins/ifcfg-rh/reader.c
index 3fee59d72..d26145930 100644
--- a/system-settings/plugins/ifcfg-rh/reader.c
+++ b/system-settings/plugins/ifcfg-rh/reader.c
@@ -668,7 +668,7 @@ make_ip4_setting (shvarFile *ifcfg,
NM_SETTING_IP4_CONFIG_NEVER_DEFAULT, never_default,
NULL);
return NM_SETTING (s_ip4);
- } else if (!g_ascii_strcasecmp (value, "none")) {
+ } else if (!g_ascii_strcasecmp (value, "none") || !g_ascii_strcasecmp (value, "static")) {
/* Static IP */
} else if (strlen (value)) {
g_set_error (error, ifcfg_plugin_error_quark (), 0,