瀏覽代碼

Do NOT export local unreachable routes for TE purposes

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 7 年之前
父節點
當前提交
9e444d86bf
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 1
      bird/bird.conf
  2. 2 1
      bird/bird6.conf

+ 2 - 1
bird/bird.conf

@@ -47,7 +47,8 @@ protocol kernel {
 {% else %}
 	import none;
 {%- endif %}
-	export all;
+	# Do NOT export local unreachable routes for TE purposes
+	export where proto != "ffho_te";
 }
 
 

+ 2 - 1
bird/bird6.conf

@@ -49,7 +49,8 @@ protocol kernel {
 {% else %}
 	import none;
 {%- endif %}
-	export all;
+	# Do NOT export local unreachable routes for TE purposes
+	export where proto != "ffho_te";
 
 	# Force bird to export device routes learned above to freifunk table
 	# This is needed as the routing policy on all nodes will force all