diff --git a/util/util.conf b/util/util.conf index 095b4ef..8162664 100644 --- a/util/util.conf +++ b/util/util.conf @@ -25,9 +25,9 @@ function is_downstream_asn() { } function is_valid() { + if pub_is_invalid_net_length() then return false; 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; if is_rpki_invalid() && source = RTS_BGP then return false;