HomeFreeBSD

pfctl: clear statistic for specified addresses

Description

pfctl: clear statistic for specified addresses

The ioctl DIOCRCLRASTATS provides the functionality of clearing stats
not only for the whole table for for addresses stored in that table. The
functionality was missing from pfctl, though. Add it now.

PR: 282877
Obtained from: OpenBSD, kirill <kirill@openbsd.org>, e496dff3a7
MFC after: 3 weeks

(cherry picked from commit 6463b6b59152fb1695bbe0de78f6e2675c5a765a)

Details

Provenance
kpAuthored on Nov 21 2024, 8:33 PM
Parents
rG9bc9cf4a2ae7: style(9): deprecate blank lines without local vars
Branches
Unknown
Tags
Unknown