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:
parent
ecb0e85ea9
commit
d30081c24e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user