Refactor rtr_parse_error() so that even a NO_DATA_AVAILABLE is logged
authorclaudio <claudio@openbsd.org>
Wed, 27 Dec 2023 12:00:30 +0000 (12:00 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 27 Dec 2023 12:00:30 +0000 (12:00 +0000)
commit929e486ef471a312fc7333da71d77274abebece7
tree7962e6857ae672537f61b31426dd0c3a8752d54e
parent8153607113536f0165355321cd38b845e4c66695
Refactor rtr_parse_error() so that even a NO_DATA_AVAILABLE is logged
as last error. So that bgpctl can show that there was no data available.
OK tb@
usr.sbin/bgpd/rtr_proto.c