From: job Date: Tue, 31 Jan 2023 14:32:43 +0000 (+0000) Subject: Improve whitespace alignment of RTR error reports X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e27600382ed235b341c187dd87ea64ec8bec5c16;p=openbsd Improve whitespace alignment of RTR error reports OK claudio@ --- diff --git a/usr.sbin/bgpctl/output.c b/usr.sbin/bgpctl/output.c index 192d8b493af..4babc6297b1 100644 --- a/usr.sbin/bgpctl/output.c +++ b/usr.sbin/bgpctl/output.c @@ -1,4 +1,4 @@ -/* $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 @@ -1079,14 +1079,14 @@ show_rtr(struct ctl_show_rtr *rtr) 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)); }