mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 02:10:09 +01:00
device: don't check addr-source for addresses that failed IPv6 DAD
dad6_failed_addrs is populated with addresses from the platform cache. Inside the cache, all addresses have addr_source NM_IP_CONFIG_SOURCE_KERNEL, because addr_source property for addresses is only a property that is used NetworkManager internally.
This commit is contained in:
parent
7ddd83e823
commit
fc7448b310
1 changed files with 0 additions and 3 deletions
|
|
@ -11561,9 +11561,6 @@ queued_ip6_config_change (gpointer user_data)
|
|||
for (iter = priv->dad6_failed_addrs; iter; iter = iter->next) {
|
||||
const NMPlatformIP6Address *addr = NMP_OBJECT_CAST_IP6_ADDRESS (iter->data);
|
||||
|
||||
if (addr->addr_source >= NM_IP_CONFIG_SOURCE_USER)
|
||||
continue;
|
||||
|
||||
_LOGI (LOGD_IP6, "ipv6: duplicate address check failed for the %s address",
|
||||
nm_platform_ip6_address_to_string (addr, NULL, 0));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue