]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfctl: use libpfctl to retrieve pf status
authorKristof Provost <kp@FreeBSD.org>
Thu, 26 Aug 2021 15:09:48 +0000 (17:09 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 6 Sep 2021 08:06:50 +0000 (10:06 +0200)
commitef082ce0edcdf7a49c592f9884da69cc19ab856d
tree3b1c99f36ebb46da5c9d36e6a6ae631fed25390b
parent3972e0085a7ec0980f5cc2b32e18bcea9c7f3070
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)
sbin/pfctl/pfctl.c
sbin/pfctl/pfctl_parser.c
sbin/pfctl/pfctl_parser.h