mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 04:00:09 +01:00
ifcfg-rh: treat BOOTPROTO=none as static IP
This commit is contained in:
parent
963d055abf
commit
a5de3b9d88
1 changed files with 2 additions and 0 deletions
|
|
@ -668,6 +668,8 @@ 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")) {
|
||||
/* Static IP */
|
||||
} else if (strlen (value)) {
|
||||
g_set_error (error, ifcfg_plugin_error_quark (), 0,
|
||||
"Unknown BOOTPROTO '%s'", value);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue