howto/Bird2.md
... ...
@@ -150,7 +150,7 @@ template bgp dnpeers {
150 150
ipv6 {
151 151
import filter {
152 152
if is_valid_network_v6() && !is_self_net_v6() then {
153
- if (roa_check(dn42_roa_v6, net, bgp_path.last) = ROA_INVALID) then {
153
+ if (roa_check(dn42_roa_v6, net, bgp_path.last) != ROA_VALID) then {
154 154
print "[dn42] ROA check failed for ", net, " ASN ", bgp_path.last;
155 155
reject;
156 156
} else accept;