mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 21:30:20 +01:00
ifcfg-rh: short circuit the IP configuration parsing on IPv4LL
We need the other keys, such as may_fail, too.
This commit is contained in:
parent
7d1709d7f6
commit
2e2f56697f
1 changed files with 1 additions and 6 deletions
|
|
@ -973,12 +973,7 @@ make_ip4_setting (shvarFile *ifcfg,
|
|||
else
|
||||
method = NM_SETTING_IP4_CONFIG_METHOD_DISABLED;
|
||||
} else if (!g_ascii_strcasecmp (value, "autoip")) {
|
||||
g_free (value);
|
||||
g_object_set (s_ip4,
|
||||
NM_SETTING_IP_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL,
|
||||
NM_SETTING_IP_CONFIG_NEVER_DEFAULT, never_default,
|
||||
NULL);
|
||||
return NM_SETTING (s_ip4);
|
||||
method = NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL;
|
||||
} else if (!g_ascii_strcasecmp (value, "shared")) {
|
||||
int idx;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue