fix community
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-26 15:28:47 +08:00
parent 2034028718
commit 43e705ec07
2 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,7 @@ function net186_export_filter(int POPID) {
if bgp_large_community !~ [(LOCAL_ASN, 120, *)] then bgp_large_community.add((LOCAL_ASN, 120, POP));
if bgp_large_community !~ [(LOCAL_ASN, 121, *)] then bgp_large_community.add((LOCAL_ASN, 121, REGION));
if (LOCAL_ASN, 122, REGION) !~ bgp_large_community then bgp_large_community.add((LOCAL_ASN, 122, REGION));
return true;
};