-/* $OpenBSD: output.c,v 1.35 2023/01/24 15:50:10 job Exp $ */
+/* $OpenBSD: output.c,v 1.36 2023/01/31 14:32:43 job Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
printf(" Last sent error: %s\n",
log_rtr_error(rtr->last_sent_error));
if (rtr->last_sent_msg[0])
- printf(" with reason \"%s\"",
+ printf(" with reason \"%s\"",
log_reason(rtr->last_sent_msg));
}
if (rtr->last_recv_error != NO_ERROR) {
- printf("Last received error: %s\n",
+ printf(" Last received error: %s\n",
log_rtr_error(rtr->last_recv_error));
if (rtr->last_recv_msg[0])
- printf(" with reason \"%s\"",
+ printf(" with reason \"%s\"",
log_reason(rtr->last_recv_msg));
}