NetworkManager/clients/cloud-setup
Thomas Haller 1e980c38e9
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)
(cherry picked from commit c861e87b7f)
2021-03-12 13:17:45 +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 nmcs-gcp: add support for Google Cloud Platform load balancers 2020-06-28 17:40:22 +02:00
meson.build nmcs-gcp: add support for Google Cloud Platform load balancers 2020-06-28 17:40:22 +02:00
nm-cloud-setup-utils.c cloud-setup: fix replacing IPv4 addresses during update 2021-03-12 13:17:45 +01:00
nm-cloud-setup-utils.h cloud-setup/trivial: rename timeout_ms to timeout_msec 2019-12-13 16:54:40 +01:00
nm-cloud-setup.service.in nmcs-gcp: add support for Google Cloud Platform load balancers 2020-06-28 17:40:22 +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: avoid wrong compiler warning about uninitalized variables with LTO 2020-08-17 15:40:05 +02:00
nm-http-client.h nmcs-http: add param to GET API to set custom HTTP headers 2020-06-28 17:40:21 +02:00
nmcs-provider-ec2.c cloud-setup: fix allocating buffer for GetConfigMetadataMac in _get_config_metadata_ready_check() 2020-08-04 19:27:47 +02:00
nmcs-provider-ec2.h cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nmcs-provider-gcp.c nmcs-gcp: add support for Google Cloud Platform load balancers 2020-06-28 17:40:22 +02:00
nmcs-provider-gcp.h nmcs-gcp: add support for Google Cloud Platform load balancers 2020-06-28 17:40:22 +02:00
nmcs-provider.c nmcs-main: support adding additional routes 2020-06-28 17:40:21 +02:00
nmcs-provider.h nmcs-main: support adding additional routes 2020-06-28 17:40:21 +02:00