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:
Thomas Haller 2018-02-09 12:59:34 +01:00
parent 7ddd83e823
commit fc7448b310

View file

@ -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));