update: update filter

production
186526 2023-01-05 22:35:58 +08:00
parent df517b78ab
commit 20ead466a1
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ function net186_import_filter(int POPID)
bgp_local_pref = bgp_local_pref - public_bgp_path.len * 10; bgp_local_pref = bgp_local_pref - public_bgp_path.len * 10;
if LOCAL_ASN ~ bgp_path then return false;
return true; return true;
}; };