On Fri, 15 Nov 2019 at 13:06, Clément Hertling (Wxcafé) <[email protected]> wrote: > > Hey! > > Thanks for the patch! It doesn't apply cleanly on either 5.3.0-1 > (https://packages.debian.org/source/bullseye/iproute2) or 4.20.0 > (https://packages.debian.org/source/buster/iproute2), so I applied it > manually. It appears to give me another error: > > ``` > # ip route get 2.0.0.1 table local > Error: ipv4: Invalid values in header for route get request. > # ip route get 2001::1 table local > Error: ipv6: Invalid values in header for get route request. > ```
Right, this is not supported by the kernel, so we can't do it in iproute2. I'll close for now, if the kernel ever implements it then feel free to reopen. https://github.com/torvalds/linux/blob/v5.10/net/ipv4/route.c#L3124 -- Kind regards, Luca Boccassi

