浏览代码

bird: No network type broadcast for new ERs

  The network type hack was introduced because of the UBNT edge routers and
  just came back to bite us. This is the quick fix until I come up with a
  nice general approach (or maybe all ERs are gone).

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 年之前
父节点
当前提交
327633f3b2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bird/IGP.conf

+ 1 - 1
bird/IGP.conf

@@ -100,7 +100,7 @@ protocol ospf IGP {
 {%- endfor %}
 {%- for interface, iface_config in interfaces.items()|sort %}
 		interface "{{ interface }}" {
-  {%- if interface.startswith ('ovpn-er-') and proto == 'v6' %}
+  {%- if interface.startswith ('ovpn-er-') and not 'yni' in interface and proto == 'v6' %}
 			type broadcast;
   {%- else %}
 			type pointopoint;