network: also check route prefixes are configured

This commit is contained in:
Yu Watanabe
2020-10-07 02:44:42 +09:00
parent ecb0e85ea9
commit d30081c24e
+3
View File
@@ -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;
}