NetworkManager/clients/cloud-setup
Thomas Haller c861e87b7f
cloud-setup: fix replacing IPv4 addresses during update
If previously the profile would track two addresses ("10.116.1.130/24",
"10.116.1.65/24"), and during an update the second address was removed
(leaving "10.116.1.130/24"), then the addresses of the profile were
wrongly not changed.

The effect is that removing a secondary IP address might not take
effect.

Fix that.

https://bugzilla.redhat.com/show_bug.cgi?id=1920838

Fixes: 69f048bf0c ('cloud-setup: add tool for automatic IP configuration in cloud')
(cherry picked from commit bbd36be44a)
2021-03-12 12:43:03 +01:00
..
90-nm-cloud-setup.sh cloud-setup: let dispatcher script run tool only if service is enabled 2019-12-03 16:18:33 +01:00
main.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
meson.build cloud-setup: add tool for automatic IP configuration in cloud 2020-07-29 15:56:15 +02:00
nm-cloud-setup-utils.c cloud-setup: fix replacing IPv4 addresses during update 2021-03-12 12:43:03 +01:00
nm-cloud-setup-utils.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-cloud-setup.service.in cloud-setup: add tool for automatic IP configuration in cloud 2020-07-29 15:56:15 +02:00
nm-cloud-setup.timer cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-http-client.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-http-client.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-azure.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-azure.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-ec2.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-ec2.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-gcp.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-gcp.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00