summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-05-02 13:08:29 +0200
committerThomas Haller <thaller@redhat.com>2022-05-03 10:19:08 +0200
commit53a67570e696323fbf70d61d83ae7ca406915b8b (patch)
tree8fed6be4ab48307ec9a8f7785d6c215986362be6
parent808b72898826610e9200e530302970058b0c2745 (diff)
platform: fix handling IPv6 address index in nm_platform_ip_address_sync()
Fixes: 4a548423b91e ('core: change order/priority of static IPv6 addresses relative to autoconf6/DHCPv6') (cherry picked from commit b52941ac34c11fa2e155e94bac78e07cf5930c9e)
-rw-r--r--src/libnm-platform/nm-platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnm-platform/nm-platform.c b/src/libnm-platform/nm-platform.c
index 0daddc3214..806466b51e 100644
--- a/src/libnm-platform/nm-platform.c
+++ b/src/libnm-platform/nm-platform.c
@@ -4341,7 +4341,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;
}