CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2020/11/05 04:28:11
Modified files: usr.sbin/bgpd : control.c session.c session.h Log message: Refactor the control code to be more like a module. Change control_dispatch_msg() to return the change of control connection count since the return value was not used before. Add control_fill_pfds() to replace the TAILQ_FOREACH loop in session.c. This allows to move the ctl_conns symbol to control.c (from session.h where it caused issues when compiled with -fno-common). OK benno@