ip6: 'manual' method doesn't use the IP6 manager

This commit is contained in:
Dan Williams 2010-04-30 16:09:02 -07:00
parent 7e980d8be3
commit b24f5c8da9

View file

@ -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 {