freebsd-skq/lib/libpfctl
Kristof Provost 4eabfe468b pfctl: Fix clearing rules counters
After the migration to libpfctl for rule retrieval we accidentally lost
support for clearing the rules counters.

Introduce a get_clear variant of pfctl_get_rule() which allows rules
counters to be cleared.

MFC after:	4 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D29727
2021-04-14 13:33:02 +02:00
..
libpfctl.c pfctl: Fix clearing rules counters 2021-04-14 13:33:02 +02:00
libpfctl.h pfctl: Fix clearing rules counters 2021-04-14 13:33:02 +02:00
Makefile