mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 13:47:58 +02:00
ip6: accept RAs when forwarding
This patch makes NM set the "accept_ra" sysctl to 1 rather than 2. This causes the kernel to process RAs even if it configured to forward IPv6 traffic on the interface in question. IPv6 forwarding would likely be enabled on a host running virtualised operating systems with virtualised network adapters, for example. This should not prevent NM from successfully activating IPv6 on a NM-controlled interface configured with IPv6 mode Auto.
This commit is contained in:
parent
6c6ec65abe
commit
453f676b2d
1 changed files with 1 additions and 1 deletions
|
|
@ -1104,7 +1104,7 @@ nm_ip6_manager_prepare_interface (NMIP6Manager *manager,
|
|||
nm_utils_do_sysctl (accept_ra_path, "0\n");
|
||||
} else {
|
||||
device->target_state = NM_IP6_DEVICE_GOT_ADDRESS;
|
||||
nm_utils_do_sysctl (accept_ra_path, "1\n");
|
||||
nm_utils_do_sysctl (accept_ra_path, "2\n");
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue