summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2013-08-02 08:33:12 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2013-08-02 08:33:12 +0000
commitf19ad0ef2c63563f625e403a75f768463bb92a11 (patch)
tree24eb9d2c6431f45058d530d7d40c90ab069c6b06
parent25ac62ad0dec8a89c4802a817777d6eb086aef7b (diff)
Remove an incorrect call to pfctl_print_rule_counters when trying to
print out anchor rules recursively; unbreaks pf1.loaded regress test. ok lteo, henning
-rw-r--r--sbin/pfctl/pfctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index b5e52fa1251..c25b3eaf9a9 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.315 2013/03/21 00:54:33 deraadt Exp $ */
+/* $OpenBSD: pfctl.c,v 1.316 2013/08/02 08:33:11 mikeb Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -800,7 +800,6 @@ pfctl_show_rules(int dev, char *path, int opts, enum pfctl_show format,
}
mnr = prs.nr;
- pfctl_print_rule_counters(&pr.rule, opts);
for (nr = 0; nr < mnr; ++nr) {
prs.nr = nr;
if (ioctl(dev, DIOCGETRULESET, &prs))