Browse Source

bird: Generate radv config for explicitly configured L3-access interfaces, too.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 5 years ago
parent
commit
433c94fadf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bird/radv.conf

+ 1 - 1
bird/radv.conf

@@ -24,7 +24,7 @@ protocol radv {
 {% endfor %}
 {%- endif %}
 {%- for iface, iface_config in node_config.get ('ifaces').items ()|sort %}
-  {%- if salt['ffho.re_search']('^vlan(3\d\d|39\d\d)$', iface) %}
+  {%- if salt['ffho.re_search']('^vlan(3\d\d|39\d\d)$', iface) or "l3-access" in iface_config.get ('_opts', []) %}
     {%- set v6_ip = salt['ffho_net.get_node_iface_ips'](node_config, iface, with_mask = True)['v6'][0] %}
     {%- set prefix = salt['ffho_net.get_network_address'](v6_ip, with_prefixlen = True) %}
 	# {{ iface_config.get ('desc', 'L3-Access') }}