summaryrefslogtreecommitdiffstats
path: root/vrrpd/vrrp_vty.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-12 18:34:00 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 02:27:08 +0200
commit92c399a47c3c515ad9a8c3496eef29aba0c9796a (patch)
tree24fe4b8e6384ec10ee08a1c3687fc40875279d55 /vrrpd/vrrp_vty.c
parentvrrpd: set sockets to -1 after closing (diff)
downloadfrr-92c399a47c3c515ad9a8c3496eef29aba0c9796a.tar.xz
frr-92c399a47c3c515ad9a8c3496eef29aba0c9796a.zip
vrrpd: minor cosmetic fix for sh vrrp
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_vty.c')
-rw-r--r--vrrpd/vrrp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c
index 05695f794..8362a966f 100644
--- a/vrrpd/vrrp_vty.c
+++ b/vrrpd/vrrp_vty.c
@@ -328,7 +328,7 @@ static void vrrp_show(struct vty *vty, struct vrrp_vrouter *vr)
vr->v6->master_down_interval);
ttable_add_row(tt, "%s|%u", "IPv4 Addresses", vr->v4->addrs->count);
- char fill[37];
+ char fill[35];
memset(fill, '.', sizeof(fill));
fill[sizeof(fill) - 1] = 0x00;
if (vr->v4->addrs->count) {