1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 10:25:06 +03:00

network: also check route prefixes are configured

This commit is contained in:
Yu Watanabe 2020-09-30 05:56:05 +09:00
parent ecb0e85ea9
commit d30081c24e

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;
}