HomeFreeBSD

pfctl: use libpfctl to retrieve pf status

Description

pfctl: use libpfctl to retrieve pf status

Rather than call DIOCGETSTATUS ourselves use the new libpfctl functions.

MFC after: 1 week
Sponsored by: Modirum MDPay
Differential Revision: https://reviews.freebsd.org/D31697

(cherry picked from commit 80078d9d38fde6f146de28809640b2c7bff45a6c)

Details

Provenance
kpAuthored on Aug 26 2021, 3:09 PM
Differential Revision
D31697: pfctl: use libpfctl to retrieve pf status
Parents
rGd1d99d7575da: libpfctl: Implement DIOCGETSTATUS wrappers
Branches
Unknown
Tags
Unknown