mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-08 22:00:29 +01:00
ip6: set accept_ra to initial value for ignored connections (rh #588619)
This commit is contained in:
parent
266e389cd3
commit
391fb0f0f2
1 changed files with 6 additions and 0 deletions
|
|
@ -1656,6 +1656,12 @@ real_act_stage3_ip6_config_start (NMDevice *self, NMDeviceStateReason *reason)
|
|||
priv->dhcp6_mode = IP6_DHCP_OPT_MANAGED;
|
||||
ret = dhcp6_start (self, connection, priv->dhcp6_mode, reason);
|
||||
} else if (ip6_method_matches (connection, NM_SETTING_IP6_CONFIG_METHOD_IGNORE)) {
|
||||
/* reset the saved RA value when ipv6 is ignored */
|
||||
if (priv->ip6_accept_ra_path) {
|
||||
nm_utils_do_sysctl (priv->ip6_accept_ra_path,
|
||||
priv->ip6_accept_ra_save ? "1\n" : "0\n");
|
||||
}
|
||||
|
||||
priv->ip6_ready = TRUE;
|
||||
ret = NM_ACT_STAGE_RETURN_STOP;
|
||||
} else if (ip6_method_matches (connection, NM_SETTING_IP6_CONFIG_METHOD_MANUAL)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue