aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-06-04 22:20:19 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-06-04 22:20:19 +0000
commit89c87995e2664633dfc9e893f5767286aeabea67 (patch)
treeacaf54c549e4bd0f647e5fd6905a7b5d556215ed /src
parent011b1cca94b1f39b42bdbd9e87866f7916d52768 (diff)
downloadstrongswan-89c87995e2664633dfc9e893f5767286aeabea67.tar.bz2
strongswan-89c87995e2664633dfc9e893f5767286aeabea67.tar.xz
cosmetics in size field of ipsec pool --status command
Diffstat (limited to 'src')
-rw-r--r--src/charon/plugins/sql/pool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/plugins/sql/pool.c b/src/charon/plugins/sql/pool.c
index 597176274..911582ee6 100644
--- a/src/charon/plugins/sql/pool.c
+++ b/src/charon/plugins/sql/pool.c
@@ -122,7 +122,7 @@ static void status(void)
{
if (!found)
{
- printf("%8s %15s %15s %8s %4s %11s %11s\n",
+ printf("%8s %15s %15s %8s %6s %11s %11s\n",
"name", "start", "end", "timeout", "size", "online", "leases");
found = TRUE;
}
@@ -139,7 +139,7 @@ static void status(void)
{
printf("%8s ", "static");
}
- printf("%4d ", size);
+ printf("%6d ", size);
/* get number of online hosts */
lease = db->query(db, "SELECT COUNT(*) FROM leases "
"WHERE pool = ? AND released IS NULL",