mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 04:58:01 +02: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. (cherry picked from commit18d2edfaa1) (cherry picked from commit6f69144500)
This commit is contained in:
parent
158dae6b5a
commit
33a01ab84b
1 changed files with 2 additions and 1 deletions
|
|
@ -12800,7 +12800,8 @@ update_ext_ip_config (NMDevice *self, int addr_family, gboolean intersect_config
|
||||||
for (iter = priv->vpn_configs_6; iter; iter = iter->next)
|
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);
|
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))
|
&& !nm_ip6_config_lookup_address (priv->ext_ip_config_6, &priv->ipv6ll_addr))
|
||||||
priv->ipv6ll_has = FALSE;
|
priv->ipv6ll_has = FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue