mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 05:18:23 +02:00
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.
This commit is contained in:
parent
38ef82d015
commit
6e8345d89b
1 changed files with 2 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue