diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2020-11-05 11:28:12 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2020-11-05 11:28:12 +0000 |
commit | f89d32cfe1e24fc7d4b696f81682b71ed6973ae3 (patch) | |
tree | 25013f77280cb8dc317044fce48d119b9d20a9d5 /usr.sbin/bgpd/printconf.c | |
parent | eb14b6f5c05fdaa42793b699333c7fe2ed0186bd (diff) |
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@
Diffstat (limited to 'usr.sbin/bgpd/printconf.c')
0 files changed, 0 insertions, 0 deletions