summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-11-18 12:19:44 -0500
committerGitHub <noreply@github.com>2021-11-18 12:19:44 -0500
commitef148de26dbbf4dd6985ad4aa5c7d8fdec9f17cd (patch)
treee534d16f07464d4baa464a2a3bc36248ef29c754
parent40d954f649e8276b61c9a1e9e82fa008168c49e4 (diff)
parentf2ada31cba8084969b9b0f212c9c147d0a176cea (diff)
Merge pull request #9706 from donaldsharp/zebra_client_summ_more_room
zebra: Expand v4/v6 route space
-rw-r--r--zebra/zserv.c7
1 files changed, 4 insertions, 3 deletions
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);