Move setting of the shutdown reason to session_stop()
authorclaudio <claudio@openbsd.org>
Mon, 22 Apr 2024 09:36:04 +0000 (09:36 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 22 Apr 2024 09:36:04 +0000 (09:36 +0000)
commit3a82eff3dea85cdf4488ddce099beb484a6622a3
tree0b8d9691717a96d9d25a817710d343a7716cd99a
parent096630734c8739cd3ac8bd1ebf22a821da5ffa0e
Move setting of the shutdown reason to session_stop()

Also make sure that something is logged when a session is stopped.
Part of a bigger diff which was OK tb@
usr.sbin/bgpd/control.c
usr.sbin/bgpd/session.c
usr.sbin/bgpd/session.h