summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/bgpctl.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-09-21 18:29:48 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-09-21 18:29:48 +0000
commitc7b0ec0117ef1702e6cda32e9c942b02e16f52e9 (patch)
tree5ed57c538d70cd8b6556bb7f8a4f5052bb51d2e1 /usr.sbin/bgpctl/bgpctl.c
parentc9e55bb99549e8c5c150ac3c6a2a8ca2ef8e4906 (diff)
Don't pad the prefix count with 0. OK henning@
Diffstat (limited to 'usr.sbin/bgpctl/bgpctl.c')
-rw-r--r--usr.sbin/bgpctl/bgpctl.c4
1 files 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 <henning@openbsd.org>
@@ -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