CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2022/08/19 03:11:18
Modified files: usr.sbin/bgpd : kroute.c Log message: Fix nexthop lookup for connected routes. In knexthop_true_nexthop() connected routes need to be handled specially. If a nexthop is directly reachable the gateway needs to remain the same. There is no nexthop set for F_CONNECTED kroutes. A very similar trick is used in rde_rib.c::nexthop_update() but was forgotten here. Regression noticed by Daniel Jakots (danj at chown.me). OK tb@