diff --git a/src/network/networkd-dhcp-common.c b/src/network/networkd-dhcp-common.c index 81edb8c7aa..d958d11d01 100644 --- a/src/network/networkd-dhcp-common.c +++ b/src/network/networkd-dhcp-common.c @@ -4,6 +4,7 @@ #include "networkd-network.h" #include "parse-util.h" #include "string-table.h" +#include "strv.h" int config_parse_dhcp( const char* unit, @@ -151,7 +152,7 @@ int config_parse_section_route_table( return 0; } - if (streq_ptr(section, "DHCP")) { + if (STRPTR_IN_SET(section, "DHCP", "DHCPv4")) { network->dhcp_route_table = rt; network->dhcp_route_table_set = true; } else { /* section is IPv6AcceptRA */