Clear the last_sent_errcode, last_rcvd_errcode and last_reason when
authorclaudio <claudio@openbsd.org>
Thu, 11 Jan 2024 14:11:03 +0000 (14:11 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 11 Jan 2024 14:11:03 +0000 (14:11 +0000)
commit41ac09096bccd529db79fac5770c7f673c3ebf1c
treea5f08d32862548cbb7dc242a92d5b29b9c472770
parent6285ef2327cc1f84a7e4194aa246d8e81dacf985
Clear the last_sent_errcode, last_rcvd_errcode and last_reason when
the session comes up instead of at the start of a connect.
With this the last errors reported should stick around longer.
Reported by linx.net, OK job@
usr.sbin/bgpd/session.c