add global route controller
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-09 22:46:30 +08:00
parent a9de9d9a89
commit 04edb208ee
5 changed files with 9 additions and 1 deletions

View File

@ -98,6 +98,7 @@ function transit_import_filter(int ASN) {
pub_preprocess_communities();
bgp_local_pref = 400 - bgp_path.len * 10;
if LOCAL_ASN ~ bgp_path then bgp_local_pref = 1;
pub_route_controller_specific();
return true;
}