Check for possible bgpid collision on open. RFC 6286 defines that this
authorclaudio <claudio@openbsd.org>
Tue, 27 Apr 2021 09:12:23 +0000 (09:12 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 27 Apr 2021 09:12:23 +0000 (09:12 +0000)
commit70e022cd075a45ccc9a3e1d199ce0bf576daee91
treec83812047a5416fcf82fb2437c2e33906103aa5f
parent6387c72393047b391996290a77621c5482498801
Check for possible bgpid collision on open. RFC 6286 defines that this
check needs to be done for iBGP sessions but not for eBGP sessions.
On conflict log an error and send a notification with ERR_OPEN_BGPID
suberror.
Reported by cjt (melissa_cjt at 163.com)
OK benno@
usr.sbin/bgpd/session.c