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

This commit is contained in:
2023-03-08 22:00:41 +08:00
parent 1314764325
commit b50552c05b
2 changed files with 8 additions and 2 deletions

View File

@ -62,7 +62,7 @@ function pub_process_communities(int ASN; int PeerType) {
# PEER
if (PeerType<10) then {
if (LOCAL_ASN, 1, 1) ~ bgp_large_community then return false;
if (LOCAL_ASN, 1, 1) ~ bgp_large_community then bgp_community.add((65535, 65281));
# UPSTREAM
} else if (PeerType=10) then {