ipv6ll: set force-once flag when adding the IPv6 link-local address

After the previous commit, this is needed for
53ba9f4701 ('ipv6ll: don't regenerate
the address when it's removed externally') to work properly.
This commit is contained in:
Beniamino Galvani 2023-07-19 17:37:49 +02:00
parent 0df304b790
commit 92fb17f99e

View file

@ -420,7 +420,9 @@ _lladdr_handle_changed(NML3IPv6LL *self, gboolean force_commit)
NM_DNS_PRIORITY_DEFAULT_NORMAL,
NM_L3_ACD_DEFEND_TYPE_ALWAYS,
0,
NM_L3CFG_CONFIG_FLAGS_NONE,
/* Even if the address was removed from platform, it must
* be re-added, hence FORCE_ONCE. */
NM_L3CFG_CONFIG_FLAGS_FORCE_ONCE,
NM_L3_CONFIG_MERGE_FLAGS_NONE))
changed = TRUE;
} else {