From: Anton Degtyarev Date: Wed, 14 Nov 2018 00:57:46 +0000 (+0300) Subject: bgpd: add missing endline X-Git-Tag: frr-7.1-dev~164^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3702f84d9f86e9c091037c984e349823884a7d93;p=mirror%2Ffrr.git bgpd: add missing endline Missing endline was resulting in garbled output in vtysh in some cases, for example, when there were no peers configured and the user has issued "bgp disable-ebgp-connected-route-check" command. Signed-off-by: Anton Degtyarev --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index d8c34d2d31..f763d4b976 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -602,7 +602,7 @@ static int bgp_clear(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi, bgp->update_delay_over = 0; if (!found) - vty_out(vty, "%%BGP: No %s peer configured", + vty_out(vty, "%%BGP: No %s peer configured\n", afi_safi_print(afi, safi)); return CMD_SUCCESS;