rtr_parse_notify() state check is special since we ignore the PDU when
authorclaudio <claudio@openbsd.org>
Tue, 9 Jan 2024 14:43:41 +0000 (14:43 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 9 Jan 2024 14:43:41 +0000 (14:43 +0000)
commit964d6687dedf5f0775e53b5fd6ff68842459dcf9
treecbdcddbf098b81bc8d58f3cb5f20c745f14488fd
parent4fa7a5b4af81f3dfdf7d6532c53e27a757107f49
rtr_parse_notify() state check is special since we ignore the PDU when
it arrives in a strange moment. The RFC is as helpful about this as one
could expect. Still I botched the state check and later added an
rtr_send_error() call which made the previous worse.
OK tb@
usr.sbin/bgpd/rtr_proto.c