mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 20:40:21 +01:00
Revert "core: force disable_ipv6=0 when turning on userspace IPv6LL"
This reverts commit 45434c0f2a.
Mistaken push, not committing this yet so close to release.
This commit is contained in:
parent
45434c0f2a
commit
bb0b6bcc6f
1 changed files with 3 additions and 4 deletions
|
|
@ -4345,12 +4345,11 @@ set_nm_ipv6ll (NMDevice *self, gboolean enable)
|
|||
if (enable) {
|
||||
/* Bounce IPv6 to ensure the kernel stops IPv6LL address generation */
|
||||
value = nm_platform_sysctl_get (nm_utils_ip6_property_path (iface, "disable_ipv6"));
|
||||
if (g_strcmp0 (value, "0") == 0)
|
||||
if (g_strcmp0 (value, "0") == 0) {
|
||||
nm_device_ipv6_sysctl_set (self, "disable_ipv6", "1");
|
||||
nm_device_ipv6_sysctl_set (self, "disable_ipv6", "0");
|
||||
}
|
||||
g_free (value);
|
||||
|
||||
/* Ensure IPv6 is enabled */
|
||||
nm_device_ipv6_sysctl_set (self, "disable_ipv6", "0");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue