mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
pflog: support PF_MATCH on FreeBSD as well.
(backported from commit 2b4abccb07
)
This commit is contained in:
parent
11bf9282da
commit
80ba137ee1
1
pflog.h
1
pflog.h
@ -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
|
||||
|
@ -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" },
|
||||
|
Loading…
Reference in New Issue
Block a user