更新 'util/util.conf'

production
186526 2023-03-01 18:05:31 +00:00
parent b8041738e7
commit cc4a34bf79
1 changed files with 1 additions and 1 deletions

View File

@ -25,9 +25,9 @@ function is_downstream_asn() {
} }
function is_valid() { function is_valid() {
if pub_is_invalid_net_length() then return false;
if (LOCAL_ASN, 110, 30) ~ 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 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_prefix() then return false;
if is_bogon_asn() then return false; if is_bogon_asn() then return false;
if is_rpki_invalid() && source = RTS_BGP then return false; if is_rpki_invalid() && source = RTS_BGP then return false;