Fix import filter on IBGP for hessnet

This commit is contained in:
Jesper Hess 2020-10-25 15:21:36 +01:00
parent c446d43c6a
commit 370488e872
Signed by: graffen
GPG key ID: 351A89E40D763F0F

View file

@ -186,7 +186,7 @@ protocol kernel {
protocol kernel kernel6 { protocol kernel kernel6 {
ipv6 { ipv6 {
import filter myroutes_import_export; import filter myroutes_import_export;
export filter kernel_export; export filter kernel_export;
}; };
} }
@ -244,7 +244,7 @@ template bgp ibgp_hessnet {
local as my_asn; local as my_asn;
ipv6 { ipv6 {
next hop self; next hop self;
import all; import filter { if is_default_route() then reject; accept; };
export filter { if is_own_route() then reject; accept; }; export filter { if is_own_route() then reject; accept; };
}; };
} }