diff --git a/communities.md b/communities.md index 2cacd1b..01ba710 100644 --- a/communities.md +++ b/communities.md @@ -96,15 +96,17 @@ | sg-sin1 | Singapore | 411 | Core | ✓ | | sg-sin2 | Singapore | 412 | Edge | | in-bom1 | Mumbai, IN | 421 | Edge | -| China Mainland | +| au-syd1 | Sydney, AU | 501 | Core | ✓ | + + diff --git a/util/util.conf b/util/util.conf index ac3b7ff..095b4ef 100644 --- a/util/util.conf +++ b/util/util.conf @@ -25,7 +25,8 @@ function is_downstream_asn() { } function is_valid() { - if (LOCAL_ASN, 0, 665) ~ bgp_large_community then return true; + if (LOCAL_ASN, 110, 30) ~ bgp_large_community then return true; + if bgp_path.len = 0 then return true; if pub_is_invalid_net_length() then return false; if is_bogon_prefix() then return false; if is_bogon_asn() then return false;