mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 16:50:17 +01:00
device: don't reset addrgenmode for assumed devices
If we reset the addrgenmode, IPv6 addresses are lost.
This commit is contained in:
parent
cd65351d29
commit
3a0eb586b8
1 changed files with 2 additions and 1 deletions
|
|
@ -11816,7 +11816,8 @@ activate_stage3_ip_config(NMDevice *self)
|
|||
* IPv6LL if this is not an assumed connection, since assumed connections
|
||||
* will already have IPv6 set up.
|
||||
*/
|
||||
_dev_addrgenmode6_set(self, NM_IN6_ADDR_GEN_MODE_NONE);
|
||||
if (!nm_device_sys_iface_state_is_external_or_assume(self))
|
||||
_dev_addrgenmode6_set(self, NM_IN6_ADDR_GEN_MODE_NONE);
|
||||
|
||||
/* Re-enable IPv6 on the interface */
|
||||
nm_device_sysctl_ip_conf_set(self, AF_INET6, "accept_ra", "0");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue