diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2025-04-15 11:13:50 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2025-04-15 11:13:50 +0000 |
| commit | 0fc3c29fb3dd6ab6436a78c502544ebf2cf63ee2 (patch) | |
| tree | 406180e7384e25fc5939e29d9ec7eb3e5313e6fd | |
| parent | 4e5657ab346c958ca4bdf0a4afcf86a7b3b8b2b7 (diff) | |
pfctl: also remove incorrect counter print for rule anchors
Just as for nat anchors we can't print counters for rule anchors. Remove the
incorrect print call.
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
| -rw-r--r-- | sbin/pfctl/pfctl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index b4318159b4ec..a9fc33525dd6 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1269,7 +1269,6 @@ pfctl_show_rules(int dev, char *path, int opts, enum pfctl_show format, errc(1, ret, "DIOCGETRULESETS"); } - pfctl_print_rule_counters(&rule, opts); for (nr = 0; nr < mnr; ++nr) { if ((ret = pfctl_get_ruleset(pfh, npath, nr, &prs)) != 0) errc(1, ret, "DIOCGETRULESET"); |
