1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-25 10:04:04 +03:00

network/dhcp6: deem DHCPv6 configuration to be finished even if no IA_NA is provided

Follow-up for fc4aa64c2d7bf1443bf30b66d334e33addb0d27a.

Otherwise, even if we request no address, Link.dhcp6_configured stuck on
false.
This commit is contained in:
Yu Watanabe 2024-02-17 05:52:40 +09:00 committed by Luca Boccassi
parent 70247b103a
commit 43a752669e

View File

@ -102,6 +102,7 @@ int dhcp6_check_ready(Link *link) {
}
if (link->network->dhcp6_use_address &&
sd_dhcp6_lease_has_address(link->dhcp6_lease) &&
!link_check_addresses_ready(link, NETWORK_CONFIG_SOURCE_DHCP6)) {
Address *address;