CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2025/08/21 09:15:25
Modified files: usr.sbin/bgpd : logmsg.c mrt.c session.c session.h session_bgp.c Log message: Switch peer FSM state early in change_state() Update the peer state and prev_state first, then do all the additional actions which now can use peer->state and peer->prev_state. As a side effect mrt_state_dump becomes trivial and log_statechange() switches the arguments around for its 'don't clutter the logs' magic. OK tb@ (long time ago)