Rework rtr_parse_header() and introduce rtr_check_session_id() to make
authorclaudio <claudio@openbsd.org>
Mon, 8 Jan 2024 16:39:17 +0000 (16:39 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 8 Jan 2024 16:39:17 +0000 (16:39 +0000)
commit37149e4fa8567ca78b4c6c6f84a1749d8d7963b5
tree187d571cdc6220c58662d97e8d6b227fc315c21e
parentee979483959e94545586a45f50c2740df04b4677
Rework rtr_parse_header() and introduce rtr_check_session_id() to make
the initial header parsing simpler.
This also allows to simplify the version negotiation dance a bit. More
is needed there.
OK tb@
usr.sbin/bgpd/rtr_proto.c