aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/pf/net/pf.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2012-01-09 08:55:23 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2012-01-09 08:55:23 +0000
commit151ceaa22ce0b9a44aea6952b5fcbe95dd330f15 (patch)
tree06548938921d55878318857c07d3c4c27eeaeb2d /sys/contrib/pf/net/pf.c
parent5c39f7bdebc8c4f19925a03f6b7504df9540cff0 (diff)
downloadsrc-151ceaa22ce0b9a44aea6952b5fcbe95dd330f15.tar.gz
src-151ceaa22ce0b9a44aea6952b5fcbe95dd330f15.zip
In FreeBSD we determine presence of pfsync(4) at run-time, not
at compile time, so define NPFSYNC to 1 always. While here, remove unused defines.
Notes
Notes: svn path=/head/; revision=229851
Diffstat (limited to 'sys/contrib/pf/net/pf.c')
-rw-r--r--sys/contrib/pf/net/pf.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/contrib/pf/net/pf.c b/sys/contrib/pf/net/pf.c
index 20e268f9b249..5c9641bc4858 100644
--- a/sys/contrib/pf/net/pf.c
+++ b/sys/contrib/pf/net/pf.c
@@ -47,23 +47,7 @@ __FBSDID("$FreeBSD$");
#include "opt_bpf.h"
#include "opt_pf.h"
-#ifdef DEV_BPF
-#define NBPFILTER DEV_BPF
-#else
-#define NBPFILTER 0
-#endif
-
-#ifdef DEV_PFLOG
-#define NPFLOG DEV_PFLOG
-#else
-#define NPFLOG 0
-#endif
-
-#ifdef DEV_PFSYNC
-#define NPFSYNC DEV_PFSYNC
-#else
-#define NPFSYNC 0
-#endif
+#define NPFSYNC 1
#ifdef DEV_PFLOW
#define NPFLOW DEV_PFLOW