ifcfg-rh: recognize 'static' BOOTPROTO (rh #528068)

This commit is contained in:
Dan Williams 2009-10-08 16:18:04 -07:00
parent e8982ab2a6
commit c31b3e4554

View file

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