pflog: support PF_MATCH on FreeBSD as well.

(backported from commit 2b4abccb07)
This commit is contained in:
Guy Harris 2024-09-08 23:57:08 -07:00
parent 11bf9282da
commit 80ba137ee1
2 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,7 @@
#define PF_SYNPROXY_DROP 10
#if defined(__FreeBSD__)
#define PF_DEFER 11
#define PF_MATCH 12
#elif defined(__OpenBSD__)
#define PF_DEFER 11
#define PF_MATCH 12

View File

@ -74,6 +74,7 @@ static const struct tok pf_actions[] = {
{ PF_SYNPROXY_DROP, "synproxy-drop" },
#if defined(__FreeBSD__)
{ PF_DEFER, "defer" },
{ PF_MATCH, "match" },
#elif defined(__OpenBSD__)
{ PF_DEFER, "defer" },
{ PF_MATCH, "match" },