platform: fix handling IPv6 address index in nm_platform_ip_address_sync()

Fixes: 4a548423b9 ('core: change order/priority of static IPv6 addresses relative to autoconf6/DHCPv6')
This commit is contained in:
Thomas Haller 2022-05-02 13:08:29 +02:00
parent a6fd641634
commit b52941ac34
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -4344,7 +4344,6 @@ nm_platform_ip_address_sync(NMPlatform *self,
if (IN6_ARE_ADDR_EQUAL(&plat_addr->address, &know_addr->address)) {
/* we have a match. Mark address as handled. */
i_know++;
delete_remaining_addrs = FALSE;
goto next_plat;
}