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

@ -13,6 +13,7 @@ function direct_peer_import_filter(int ASN) {
pub_add_communities(ASN, 0);
pub_preprocess_communities();
bgp_local_pref = 500 - bgp_path.len * 10;
pub_route_controller_specific();
return true;
}