]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Adjust column display of `show zebra client summ` for openfabric
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 23 Nov 2019 00:29:55 +0000 (19:29 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 23 Nov 2019 00:29:55 +0000 (19:29 -0500)
commit588a30273da0c8833d62011151a44e4d8d571ddf
treed86a4fff18e8aac9f3d08f05155617753b1e0f55
parenta5a1e515bb5ae39c6967a575b8742ebcb8962c7e
zebra: Adjust column display of `show zebra client summ` for openfabric

The openfabric daemon has a longer name than anticipated for
`show zebra client summary` adjust to allow it to fit without
making columns all blomped.

Before:
robot# show zebra client summ
Name      Connect Time    Last Read  Last Write  IPv4 Routes       IPv6 Routes
--------------------------------------------------------------------------------
static        00:00:06     00:00:06    00:00:06       4/0              0/0
openfabric      00:00:06     00:00:06    00:00:06       0/0              0/0

After:

[sharpd@robot frr4]$ vtysh -c "show zebra client summ"
Name      Connect Time    Last Read  Last Write  IPv4 Routes       IPv6 Routes
--------------------------------------------------------------------------------
static        00:02:16     00:02:16    00:02:16       4/0              0/0
openfabric    00:02:16     00:02:16    00:02:16       0/0              0/0

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zserv.c