Hi. For this situation we may have more solutions. You can do the check only on routes that have bgp_path defined. You can add: if defined (bgp_path)... It also seems, that you are using this in an export filter. It might be more useful to use this in a BGP import filter. In that case every route will have bgp_path defined. I hope this helps. Happy routing, Jana Jana Babovakova (she/her) | BIRD Tech Support | CZ.NIC, z.s.p.o. On 22. 05. 25 3:41, ushiroz@ate-mahoroba.jp wrote:
Hi,
In our BIRD 2.14 we’re running roa_check like this:
if (net.type = NET_IP4) then { case roa_check(r4, net, bgp_path.last) {
However, the BIRD logs show the following error:
<ERR> filters, line 1: Missing AS_PATH attribute
would it be advisable to add a check to determine whether the route is a BGP route before proceeding?