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

This commit is contained in:
2023-02-26 15:58:52 +08:00
parent 43e705ec07
commit afebf9110b
2 changed files with 11 additions and 8 deletions

View File

@ -25,6 +25,7 @@ function is_downstream_asn() {
}
function is_valid() {
if (LOCAL_ASN, 0, 665) ~ bgp_large_community 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;