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

(cherry picked from commit ddd08375c85576b49fb9a34968ba2c2f4f8d56cf)

Details

Provenance
kpAuthored on Aug 29 2023, 3:00 PM
Differential Revision
D41647: pf (t)ftp-proxy: use libpfctl instead of DIOCGETSTATUS
Parents
rGcbf1bbe5c8b5: __crt_aligned_alloc_offset(): fix ov_index for backing allocation address
Branches
Unknown
Tags
Unknown