소스 검색

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