]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: remove COMPAT_FREEBSD14 #ifdef from pfvar.h
authorKristof Provost <kp@FreeBSD.org>
Thu, 19 Oct 2023 10:06:29 +0000 (12:06 +0200)
committerKristof Provost <kp@FreeBSD.org>
Thu, 19 Oct 2023 14:19:39 +0000 (16:19 +0200)
commit9eff6390718d0fa67dffc6cd830b0bc6b815e8c4
tree3be2eb821ff9d599ef59df94d3e9e1884e4a9236
parentb5437d6c65e0dfd7b9d681aedbc1d382e092b3d3
pf: remove COMPAT_FREEBSD14 #ifdef from pfvar.h

When userspace includes pfvar.h it doesn't get the kernel's COMPAT_*
defines, so we end up not having required symbols in userspace. This
caused the libpfctl port to fail to build.

libpfctl will be updated to use the new netlink-based state export code
soon, which will also fix thix build issue.

Sponsored by: Rubicon Communications, LLC ("Netgate")
sys/net/pfvar.h