HomeFreeBSD

libpfctl: handle the 'pfctl' netlink family not being supported

Description

libpfctl: handle the 'pfctl' netlink family not being supported

If we fail to find the pfctl family we should not attempt to make the
call. That means that either pf is not loaded, or it's a very old (i.e.
pre-netlink) version.

Reported by: manu
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Nov 6 2023, 10:57 AM
Parents
rGbce728719e7f: Add paragraph documenting loader.env functionlity
Branches
Unknown
Tags
Unknown