mirror of
https://github.com/opnsense/src.git
synced 2026-06-07 07:42:26 -04:00
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")
This commit is contained in:
parent
4e5657ab34
commit
0fc3c29fb3
1 changed files with 0 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue