diff options
author | Adrian Pistol <vifino@posteo.net> | 2023-04-12 18:03:50 +0200 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2023-04-14 21:12:12 +0000 |
commit | 8f78c935f8c3beb7042c1c19ccefaebcf784cecf (patch) | |
tree | 83442cdc3c63483d9fcc7db856bcc81b5502cc64 /test/vpp_ip_route.py | |
parent | b8a663c56ddb3293c46097e9c2168bda3088ecb7 (diff) |
linux-cp: Handle RTA_VIA routes.
RTA_VIA allows routes to have a next-hop in a different address family.
This commit makes linux-cp import those types of routes correctly,
instead of importing the routes without a gateway.
This uses rtnl_route_nh_get_gateway, which is available since libnl
3.4.0 (Oct. 9, 2017). Even Debian Stretch has it via backports.
Type: fix
Change-Id: I06297c700461ba7874eb8baf9355bd40990b3121
Signed-off-by: Adrian Pistol <vifino@posteo.net>
Diffstat (limited to 'test/vpp_ip_route.py')
0 files changed, 0 insertions, 0 deletions