mirror of
https://git.dn42.dev/wiki/wiki.git
synced 2024-11-19 04:07:25 +01:00
[Yamakaja] Fix inconsistency
This commit is contained in:
parent
3482ae3fa4
commit
05d97a864f
@ -150,7 +150,7 @@ template bgp dnpeers {
|
|||||||
ipv6 {
|
ipv6 {
|
||||||
import filter {
|
import filter {
|
||||||
if is_valid_network_v6() && !is_self_net_v6() then {
|
if is_valid_network_v6() && !is_self_net_v6() then {
|
||||||
if (roa_check(dn42_roa_v6, net, bgp_path.last) = ROA_INVALID) then {
|
if (roa_check(dn42_roa_v6, net, bgp_path.last) != ROA_VALID) then {
|
||||||
print "[dn42] ROA check failed for ", net, " ASN ", bgp_path.last;
|
print "[dn42] ROA check failed for ", net, " ASN ", bgp_path.last;
|
||||||
reject;
|
reject;
|
||||||
} else accept;
|
} else accept;
|
||||||
|
Loading…
Reference in New Issue
Block a user