Hello Ondrej, Thanks for the merge. I did a quick test with the merged code on FreeBSD 13.2 and all worked well. While testing the same feature with Netlink as suggested by Marek, I noticed that the import of routes from kernel to BIRD was broken. I attached a patch that fixed the issue with Netlink for me. I believe it should be safe to handle RTA_VIA on non-MPLS kernels as rtnetlink(7) on Linux lists it as "Gateway in different AF" and rtnetlink(4) on FreeBSD lists it as "IPv6 nexthop address for IPv4 route". Luiz On 21/04/2023 03.07, Ondrej Zajicek wrote:
On Mon, Apr 17, 2023 at 04:46:13PM +0200, Luiz Amaral wrote:
Hello Ondrej,
Did you have a chance to check out the patch? I am happy to adjust it if needed. Hello
Thanks for a notice, i just merged that (with minor modification):
https://gitlab.nic.cz/labs/bird/-/commit/d61505b039bf0aa6697e28b2a4e07907c89...
I didn't test the feature, as our FreeBSD VM is still at 13.0 (bsd-cloud-image.org does not offer never version), but it seems safe.