howto/Bird.md
... ...
@@ -285,7 +285,7 @@ mkdir -p /var/lib/bird/
285 285
In your import filter add the following to reject invalid routes:
286 286
287 287
```
288
-if (roa_check(dn42_roa, net, bgp_path.last) = ROA_INVALID) then {
288
+if (roa_check(dn42_roa, net, bgp_path.last) != ROA_VALID) then {
289 289
print "[dn42] ROA check failed for ", net, " ASN ", bgp_path.last;
290 290
reject;
291 291
}