Connected routes use the BGP exit nexthop while other routes need to use
authorclaudio <claudio@openbsd.org>
Thu, 25 Aug 2022 08:10:25 +0000 (08:10 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 25 Aug 2022 08:10:25 +0000 (08:10 +0000)
commit59a54550596b0f659036da553054175afec7a6ef
tree314dcc621e392fb88cbfb69264a3df384fd0e8f4
parentc5cbed4bf8547f7539acf5948fd388d03fb0b073
Connected routes use the BGP exit nexthop while other routes need to use
the nexthop from the covering route. Move this logic from RDE to the
kroute code so it is all in one place.
OK tb@
usr.sbin/bgpd/kroute.c
usr.sbin/bgpd/rde_rib.c