mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 08:20:11 +01:00
core,dhcp: look for IPv6LL address in composite config
It will only be in ext_ip6_config if it was added by the kernel,
which isn't usually the case since NM handles IPv6LL address
generation on new enough kernels.
If the LL address isn't found, IPv6 configuration will never
complete because DHCPv6 was started already but lack of an LL
address bails out early without handling the error.
Fixes: b8c2fc26c1
This commit is contained in:
parent
c2709eac40
commit
2d1638bba9
1 changed files with 1 additions and 1 deletions
|
|
@ -5297,7 +5297,7 @@ dhcp6_start_with_link_ready (NMDevice *self, NMConnection *connection)
|
|||
g_byte_array_append (tmp, hw_addr, hw_addr_len);
|
||||
}
|
||||
|
||||
ip6_config = priv->ext_ip6_config;
|
||||
ip6_config = priv->ip6_config;
|
||||
for (i = 0; ip6_config && i < nm_ip6_config_get_num_addresses (ip6_config); i++) {
|
||||
const NMPlatformIP6Address *addr = nm_ip6_config_get_address (ip6_config, i);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue