emerg: update filter which is leaking route now
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -106,7 +106,7 @@ function transit_export_filter(int ASN) {
|
||||
pub_process_path();
|
||||
if !is_valid() then return false;
|
||||
if bgp_large_community ~ [(LOCAL_ASN, 110, 0), (LOCAL_ASN, 110, 10)] then return false;
|
||||
if bgp_path.last !~ DOWNSTREAM_ASN && source = RTS_BGP then {
|
||||
if !pub_is_downstream_route() && source = RTS_BGP then {
|
||||
print "transit exporter: for ", net, " ASN ", bgp_path.last;
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user