forked from zentralwerk/network
bird6.conf: fix template for ipv6 prefixes split over multiple ranges
This commit is contained in:
parent
9296cc3e0a
commit
9d56ab53fc
|
@ -18,11 +18,13 @@ protocol radv {
|
|||
min ra interval 3;
|
||||
max ra interval 10;
|
||||
{%- for ctx, subnets in pillar['subnets-inet6'].items() %}
|
||||
{%- set subnet6 = subnets[iface] %}
|
||||
{%- set subnet6 = subnets.get(iface) %}
|
||||
{%- if subnet6 %]
|
||||
prefix {{ subnet6 }} {
|
||||
preferred lifetime 20;
|
||||
valid lifetime 60;
|
||||
};
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- if conf.get('rdnss') %}
|
||||
{%- for value in conf['rdnss'] %}
|
||||
|
|
Loading…
Reference in New Issue