From: Yu Watanabe Date: Fri, 16 Feb 2024 20:52:40 +0000 (+0900) Subject: network/dhcp6: deem DHCPv6 configuration to be finished even if no IA_NA is provided X-Git-Tag: v256-rc1~827^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43a752669e5ec60b1a688e611266db33dba39dcb;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index de4588c93e0..27081e9d310 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -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;