Add: reject all path that = ::/0

production
186526 2022-12-28 11:31:37 +08:00
parent 98c3e0be9f
commit ab55cbffd8
1 changed files with 1 additions and 0 deletions

View File

@ -29,5 +29,6 @@ function is_valid() {
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;
if net = ::/0 then return false;
return true; return true;
} }