From: Yu Watanabe Date: Tue, 29 Sep 2020 20:56:05 +0000 (+0900) Subject: network: also check route prefixes are configured X-Git-Tag: v247-rc1~117^2~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d30081c24e1a496327f2f3d76eac0b5cf3766a4d;p=thirdparty%2Fsystemd.git network: also check route prefixes are configured --- diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index 348be6ad0bf..a89a8259a28 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -846,6 +846,9 @@ bool network_has_static_ipv6_configurations(Network *network) { if (!hashmap_isempty(network->prefixes_by_section)) return true; + if (!hashmap_isempty(network->route_prefixes_by_section)) + return true; + return false; }