mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 12:38:10 +02: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
|
else
|
||||||
method = NM_SETTING_IP4_CONFIG_METHOD_DISABLED;
|
method = NM_SETTING_IP4_CONFIG_METHOD_DISABLED;
|
||||||
} else if (!g_ascii_strcasecmp (value, "autoip")) {
|
} else if (!g_ascii_strcasecmp (value, "autoip")) {
|
||||||
g_free (value);
|
method = NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL;
|
||||||
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);
|
|
||||||
} else if (!g_ascii_strcasecmp (value, "shared")) {
|
} else if (!g_ascii_strcasecmp (value, "shared")) {
|
||||||
int idx;
|
int idx;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue