summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-10-26 11:44:07 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-10-26 11:44:07 +0000
commitddf23855687f6a0f4c2070d0defe2d8a9245a640 (patch)
treebdb14365f6a11776343dc79d15e7d818d1a02b08
parentc979bd642d9a69b49fbd58219457d1324732ec62 (diff)
do /%u instead of /%6u for max_prefix, looks better, claudio ok
-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 3f94f84625c..120642c9af8 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.65 2004/09/23 02:05:29 henning Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.66 2004/10/26 11:44:06 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -328,7 +328,7 @@ show_summary_msg(struct imsg *imsg)
if (p->state == STATE_ESTABLISHED) {
printf("%6u", p->stats.prefix_cnt);
if (p->conf.max_prefix != 0)
- printf("/%6u", p->conf.max_prefix);
+ printf("/%u", p->conf.max_prefix);
} else
printf("%s", statenames[p->state]);
printf("\n");