Implement the F_SHORTER filter by doing explicit lookups for each possible
authorclaudio <claudio@openbsd.org>
Fri, 9 Sep 2022 13:33:24 +0000 (13:33 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 9 Sep 2022 13:33:24 +0000 (13:33 +0000)
commitab80b1fc48f92b0f0d47f0af7d87fb2ca1cafbcb
treee94dc3e9d0ed8b79f1388f716d574fa33af6bbb4
parent38f94180e004cbf3ddeaa8cf7681d9af520b2dc0
Implement the F_SHORTER filter by doing explicit lookups for each possible
prefixlen. Even for IPv6 this is much faster than a full table walk.
OK tb@
usr.sbin/bgpd/rde.c