Adjust handling of the RFC 9234 role capability for ibgp sessions:
authorclaudio <claudio@openbsd.org>
Tue, 27 Dec 2022 17:05:38 +0000 (17:05 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 27 Dec 2022 17:05:38 +0000 (17:05 +0000)
commitf96c94aaa8a638b322335bf55392e8960d38ddd7
tree7369263c4ace95d30b27e9efa2add3b24c495478
parent1dfb70a21d01c7a2d752dc8fe780adc153facd1f
Adjust handling of the RFC 9234 role capability for ibgp sessions:
 - Exclude the role capability on ibgp sessions when sending an OPEN
 - Warn when a role capability is received on an iBGP session
 - Make sure the capability negotiation is skipped for ibgp sessions,
   this in turn disables the role capability on the session.
OK tb@
usr.sbin/bgpd/session.c