Merge pull request #5793 from ton31337/fix/formatting_show_bgp_summary_failed

bgpd: Format properly `show bgp summary failed`
This commit is contained in:
Quentin Young 2020-02-11 14:45:40 -05:00 committed by GitHub
commit f94ed830df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8668,7 +8668,7 @@ static void bgp_show_failed_summary(struct vty *vty, struct bgp *bgp,
if (len < max_neighbor_width) if (len < max_neighbor_width)
vty_out(vty, "%*s", max_neighbor_width - len, vty_out(vty, "%*s", max_neighbor_width - len,
" "); " ");
vty_out(vty, "%7d %7d %8s", peer->established, vty_out(vty, "%7d %7d %9s", peer->established,
peer->dropped, peer->dropped,
peer_uptime(peer->uptime, timebuf, peer_uptime(peer->uptime, timebuf,
BGP_UPTIME_LEN, 0, NULL)); BGP_UPTIME_LEN, 0, NULL));