diff options
author | glebius <glebius@FreeBSD.org> | 2011-12-22 18:31:47 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-12-22 18:31:47 +0000 |
commit | 47a08cdd76b344907889a3a09e3d468689bf8e2c (patch) | |
tree | 2a09b9c408abf3c258df0f1757dc7009f07e7271 /sys/contrib/pf | |
parent | b075a9fc193f7a5737de51a153c98cc4b6e2ec24 (diff) | |
download | FreeBSD-src-47a08cdd76b344907889a3a09e3d468689bf8e2c.zip FreeBSD-src-47a08cdd76b344907889a3a09e3d468689bf8e2c.tar.gz |
In FreeBSD we always have bpf(4) API, either real or stub. No need
in detecting presense of 'device bpf'.
Diffstat (limited to 'sys/contrib/pf')
-rw-r--r-- | sys/contrib/pf/net/if_pfsync.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/contrib/pf/net/if_pfsync.c b/sys/contrib/pf/net/if_pfsync.c index 8614c00..32506ef 100644 --- a/sys/contrib/pf/net/if_pfsync.c +++ b/sys/contrib/pf/net/if_pfsync.c @@ -45,17 +45,12 @@ #ifdef __FreeBSD__ #include "opt_inet.h" #include "opt_inet6.h" -#include "opt_bpf.h" #include "opt_pf.h" #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifdef DEV_BPF -#define NBPFILTER DEV_BPF -#else -#define NBPFILTER 0 -#endif +#define NBPFILTER 1 #ifdef DEV_PFSYNC #define NPFSYNC DEV_PFSYNC |