cosmetics in size field of ipsec pool --status command

This commit is contained in:
Andreas Steffen
2008-06-04 22:20:19 +00:00
parent 011b1cca94
commit 89c87995e2
+2 -2
View File
@@ -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",