Use proper length in session_newmsg() for the RFC9072 case.
authorclaudio <claudio@openbsd.org>
Sat, 4 Nov 2023 11:17:51 +0000 (11:17 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 4 Nov 2023 11:17:51 +0000 (11:17 +0000)
commitf7bd0bb85fc903d739c398c94a02dd358de4a07f
tree8995672f12cf1b806130171acc00df4263291939
parent5f3e01b79b093436be8558b8d0747cf9ab517521
Use proper length in session_newmsg() for the RFC9072 case.

Right now OpenBGPD can not produce so many capabilities that this
case is reached but still better to fix it now.
OK tb@
usr.sbin/bgpd/session.c