CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2022/09/01 07:23:24
Modified files: usr.sbin/bgpd : mrt.c rde.c rde.h rde_peer.c Log message: Switch the rde_peer hashtable and peer list to a single RB tree. Only the RDE used a hashtable for lookups while the session engine switched from a list to RB tree some time ago. Use peer_foreach() in the mrt code instead of passing the peer list as an argument. OK benno@ tb@