From c7b0ec0117ef1702e6cda32e9c942b02e16f52e9 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 21 Sep 2004 18:29:48 +0000 Subject: Don't pad the prefix count with 0. OK henning@ --- usr.sbin/bgpctl/bgpctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index 4d2808bded1..660f83d09b9 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.63 2004/09/16 22:36:18 henning Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.64 2004/09/21 18:29:47 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer @@ -326,7 +326,7 @@ show_summary_msg(struct imsg *imsg) p->wbuf.queued, fmt_timeframe(p->stats.last_updown)); if (p->state == STATE_ESTABLISHED) { - printf("%06u", p->stats.prefix_cnt); + printf("%6u", p->stats.prefix_cnt); if (p->conf.max_prefix != 0) printf("/%u", p->conf.max_prefix); } else -- cgit v1.2.3