[Bug 272455] pf(4) manpage lists wrong definition for pfi_kif

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Jul 2023 09:40:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272455

Kristof Provost <kp@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kp@freebsd.org
           Assignee|bugs@FreeBSD.org            |kp@freebsd.org

--- Comment #1 from Kristof Provost <kp@freebsd.org> ---
Thanks for the report!

I suspect the man page references the OpenBSD version of that struct.
The difference between 13 and 14 is a minor cleanup in the definition, but the
actual layout is identical. 
I'm going to use the 14 version, because it's slightly cleaner.

Also, from this and your other report (272459) I'm going to assume you're
trying to interact with pf through its ioctl interface. Are you aware of
libpfctl (lib/libpfctl in the source tree)? I've been making somewhat regular
changes to the API to clean it up and to add features, and your life is going
to be a lot easier if you use that library, because using that will take care
of (most of) the changes for you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.