Add: reject all path that = ::/0
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user