]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fix remaining MR RTM_GETROUTE oddities
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 6 Jul 2022 09:26:01 +0000 (11:26 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 7 Jul 2022 09:36:40 +0000 (11:36 +0200)
commite1cd4bb1789792a14127e27ddc4b6de4440e38b2
tree9ea736bba503ef67cbf0c317abe5e4926fb794c7
parentc6a89c8ef583cc44984d6a57c976cf217d0a7583
zebra: fix remaining MR RTM_GETROUTE oddities

The IPv6 version needs rtm_src_len and rtm_dst_len filled in due to
strict validation.  IPv4 also has this requirement, but zebra is running
in non-strict mode there so the kernel accepts it...

Also the table ID hack is IPv4 only.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/rt_netlink.c