We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 521ff2f commit c2babfcCopy full SHA for c2babfc
src/network/networkd-link.c
@@ -965,7 +965,8 @@ void link_check_ready(Link *link) {
965
return;
966
967
if ((link_dhcp4_enabled(link) || link_dhcp6_enabled(link)) &&
968
- !(link->dhcp4_configured || link->dhcp6_configured) &&
+ !link->dhcp4_configured &&
969
+ !link->dhcp6_configured &&
970
!(link_ipv4ll_enabled(link, ADDRESS_FAMILY_FALLBACK_IPV4) && link->ipv4ll_address && link->ipv4ll_route))
971
/* When DHCP is enabled, at least one protocol must provide an address, or
972
* an IPv4ll fallback address must be configured. */
0 commit comments