mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 03:00:13 +01:00
device: fix intersecting IPv6 configurations
If the link is down we shouldn't drop the link-local address from configuration as it wasn't removed by user but by kernel.
This commit is contained in:
parent
d0b16b9283
commit
18d2edfaa1
1 changed files with 2 additions and 1 deletions
|
|
@ -12941,7 +12941,8 @@ update_ext_ip_config (NMDevice *self, int addr_family, gboolean intersect_config
|
|||
for (iter = priv->vpn_configs_6; iter; iter = iter->next)
|
||||
nm_ip6_config_intersect (iter->data, priv->ext_ip_config_6, is_up, is_up, 0);
|
||||
|
||||
if ( priv->ipv6ll_has
|
||||
if ( is_up
|
||||
&& priv->ipv6ll_has
|
||||
&& !nm_ip6_config_lookup_address (priv->ext_ip_config_6, &priv->ipv6ll_addr))
|
||||
priv->ipv6ll_has = FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue