From: Donald Sharp Date: Thu, 30 Sep 2021 17:56:15 +0000 (-0400) Subject: zebra: Expand v4/v6 route space X-Git-Tag: base_8.2~190^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f2ada31cba8084969b9b0f212c9c147d0a176cea;p=matthieu%2Ffrr.git zebra: Expand v4/v6 route space At some scale we eventually run out of room displaying v4/v6 route totals for `show zebra client summ`: janelle# show zebra client summ Name Connect Time Last Read Last Write IPv4 Routes IPv6 Routes -------------------------------------------------------------------------------- bgp 04w0d18h 00:00:19 00:01:2411729127/4052681 2037786/903094 This total over ran the space in just a little over a week of uptime. Expand to have a bit more room. Signed-off-by: Donald Sharp --- diff --git a/zebra/zserv.c b/zebra/zserv.c index abb9c5ca5d..f3f69661c4 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -1197,7 +1197,8 @@ static void zebra_show_client_brief(struct vty *vty, struct zserv *client) snprintfrr(client_string, sizeof(client_string), "%s", zebra_route_string(client->proto)); - vty_out(vty, "%-10s%12s %12s%12s%8d/%-8d%8d/%-8d\n", client_string, + vty_out(vty, "%-10s%12s %12s%12s %10d/%-10d %10d/%-10d\n", + client_string, zserv_time_buf(&connect_time, cbuf, ZEBRA_TIME_BUF), zserv_time_buf(&last_read_time, rbuf, ZEBRA_TIME_BUF), zserv_time_buf(&last_write_time, wbuf, ZEBRA_TIME_BUF), @@ -1291,9 +1292,9 @@ DEFUN (show_zebra_client_summary, struct zserv *client; vty_out(vty, - "Name Connect Time Last Read Last Write IPv4 Routes IPv6 Routes \n"); + "Name Connect Time Last Read Last Write IPv4 Routes IPv6 Routes\n"); vty_out(vty, - "--------------------------------------------------------------------------------\n"); + "------------------------------------------------------------------------------------------\n"); for (ALL_LIST_ELEMENTS_RO(zrouter.client_list, node, client)) zebra_show_client_brief(vty, client);