summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-05-18 20:25:16 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-05-18 20:25:16 +0000
commit4cbb081ad56d8bb274610e8db188bc4469a262e4 (patch)
treef08f11f45825920298c09eb5a3a145bb031b426a
parent6f77b476d25bc94a08181201b36c46ab3dc4278b (diff)
in the pfctl -vsr output (-vvsr/-gvvsr as well), indent instead of extra
newline. requested by markus@, dhartmei and myself agree
-rw-r--r--sbin/pfctl/pfctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index b98378e4301..32cfcfed982 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.172 2003/05/17 02:46:22 mcbride Exp $ */
+/* $OpenBSD: pfctl.c,v 1.173 2003/05/18 20:25:15 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -542,7 +542,7 @@ pfctl_print_rule_counters(struct pf_rule *rule, int opts)
"p", "sa", "sp", "da", "dp" };
int i;
- printf("[ Skip steps: ");
+ printf(" [ Skip steps: ");
for (i = 0; i < PF_SKIP_COUNT; ++i) {
if (rule->skip[i].nr == rule->nr + 1)
continue;
@@ -554,12 +554,12 @@ pfctl_print_rule_counters(struct pf_rule *rule, int opts)
}
printf("]\n");
- printf("[ queue: qname=%s qid=%u pqname=%s pqid=%u ]\n",
+ printf(" [ queue: qname=%s qid=%u pqname=%s pqid=%u ]\n",
rule->qname, rule->qid, rule->pqname, rule->pqid);
}
if (opts & PF_OPT_VERBOSE)
- printf("[ Evaluations: %-8llu Packets: %-8llu "
- "Bytes: %-10llu States: %-6u]\n\n",
+ printf(" [ Evaluations: %-8llu Packets: %-8llu "
+ "Bytes: %-10llu States: %-6u]\n",
rule->evaluations, rule->packets,
rule->bytes, rule->states);
}