mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 05:50:08 +01:00
ip6: 'manual' method doesn't use the IP6 manager
This commit is contained in:
parent
7e980d8be3
commit
b24f5c8da9
1 changed files with 1 additions and 2 deletions
|
|
@ -729,8 +729,7 @@ nm_ip6_manager_prepare_interface (NMIP6Manager *manager,
|
|||
method = NM_SETTING_IP6_CONFIG_METHOD_AUTO;
|
||||
|
||||
/* Establish target state and turn router advertisement acceptance on or off */
|
||||
if ( !strcmp (method, NM_SETTING_IP6_CONFIG_METHOD_MANUAL)
|
||||
|| !strcmp (method, NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL)) {
|
||||
if (!strcmp (method, NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL)) {
|
||||
device->target_state = NM_IP6_DEVICE_GOT_LINK_LOCAL;
|
||||
nm_utils_do_sysctl (device->accept_ra_path, "0\n");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue