emerg: update filter which is leaking route now
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-28 03:23:07 +08:00
parent 486fcecfec
commit 9c129e6d80
4 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,7 @@
function is_peer_route() {
if (LOCAL_ASN, 110, 0) ~ bgp_large_community then return false;
if (LOCAL_ASN, 110, 10) ~ bgp_large_community then return false;
if bgp_path ~ [ 7018, 3320, 3257, 6830, 3356, 2914, 5511, 3491, 1239, 6453, 6762, 1299, 12956, 701, 6461, 174, 6939] then {
return false;
}
if !pub_is_downstream_route() then return false;
return true;
}