Commit 6e8345d8 authored by Dan Williams's avatar Dan Williams

core: don't disable IPv6 when assuming connections (rh #1052157)

Don't disable IPv6 when we're about to assume a connection that may well
have IPv6 already configured on the interface, which removes all addresses
and routes from the interface and generally Breaks Stuff.
parent 38ef82d0
......@@ -6283,7 +6283,8 @@ nm_device_state_changed (NMDevice *device,
case NM_DEVICE_STATE_UNAVAILABLE:
if (old_state == NM_DEVICE_STATE_UNMANAGED) {
save_ip6_properties (device);
nm_platform_sysctl_set (priv->ip6_disable_ipv6_path, "1");
if (reason != NM_DEVICE_STATE_REASON_CONNECTION_ASSUMED)
nm_platform_sysctl_set (priv->ip6_disable_ipv6_path, "1");
nm_platform_sysctl_set (priv->ip6_accept_ra_path, "0");
nm_platform_sysctl_set (priv->ip6_use_tempaddr_path, "0");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment