HomeFreeBSD

pf (t)ftp-proxy: use libpfctl instead of DIOCGETSTATUS

Description

pf (t)ftp-proxy: use libpfctl instead of DIOCGETSTATUS

Prefer libpfctl functions over direct access to the ioctl whenever
possible. This will allow subsequent removal of DIOCGETSTATUS (in 15) as
there already is an nvlist-based alternative.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D41647

Details

Provenance
kpAuthored on Aug 29 2023, 3:00 PM
Differential Revision
D41647: pf (t)ftp-proxy: use libpfctl instead of DIOCGETSTATUS
Parents
rG8c1274138a20: vmxnet3: do restart on VLAN changes
Branches
Unknown
Tags
Unknown