]> git.ipfire.org Git - thirdparty/bird.git/commit
Netlink: Handle IPv4 routes with IPv6 nexthops
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 12 Nov 2019 17:13:21 +0000 (18:13 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 12 Nov 2019 17:13:21 +0000 (18:13 +0100)
commit53401bef63013dfee01b65d071ffbd88e457539f
treecb55a87070fe4aaf91c9e405784be7c9104f359c
parent0b228fca04c8a9a81af6a4973877ceba9aede3f0
Netlink: Handle IPv4 routes with IPv6 nexthops

Accept RTA_VIA attribute in all cases. The old code always used
RTA_GATEWAY for IPv4 / IPv6 and RTA_VIA for MPLS. The new code uses
RTA_VIA in cases where AF of network and AF of nexthop differs.
sysdep/linux/netlink.c