Improve rtr_send_error() so that there is no need to log_warnx() before.
authorclaudio <claudio@openbsd.org>
Wed, 10 Jan 2024 16:08:36 +0000 (16:08 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 10 Jan 2024 16:08:36 +0000 (16:08 +0000)
commit9dad73886d82f5b97cf2831493228e9d320f7441
tree0d7b5198fdcaf4c4e355bf24117f4361cda4931f
parent2d7da8735d2d1d45618e68d2aff33c71972b9b54
Improve rtr_send_error() so that there is no need to log_warnx() before.

Now rtr_send_error() supports a format string for the error message so
use this fact to make the error report better.

OK tb@
usr.sbin/bgpd/rtr_proto.c