diff options
author | 2013-08-02 08:33:11 +0000 | |
---|---|---|
committer | 2013-08-02 08:33:11 +0000 | |
commit | 70a46c0d19a256fd0b9fe3f7e9691629ba02944e (patch) | |
tree | c4639e2c9666cb725238129a0d824bbeaabe5bc5 | |
parent | Some tests are currently failing. Only run those if the REGRESS_FULL (diff) | |
download | wireguard-openbsd-70a46c0d19a256fd0b9fe3f7e9691629ba02944e.tar.xz wireguard-openbsd-70a46c0d19a256fd0b9fe3f7e9691629ba02944e.zip |
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.c | 3 |
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)) |