CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/06/15 04:10:03
Modified files:
usr.sbin/bgpd : bgpd.c bgpd.h kroute.c
Log message:
Rename F_BGPD_INSERTED to F_BGPD and use F_BGPD_INSERTED as a flag that
indicates that the route was successfully added to the FIB.
Filter out dynamic routes, like it is already done for ARP and ND routes) and
kill F_DYNAMIC.
Also remove the protect_lo() bits. Adding dummy kroute entries does no longer
prevent bad routes to hit the FIB. Also loopback IPs are checked in a few
other places to prevent bad routes to be installed into the FIB.
OK tb@