From __FreeBSD_version 600001 on PFIL_HOOKS is permanently in the kernel and
doesn't require to include opt_pfil_hooks.h.
This commit is contained in:
parent
c2414060cf
commit
5f56967319
@ -71,7 +71,8 @@
|
||||
# if defined(_KERNEL) && !defined(IPFILTER_LKM)
|
||||
# include "opt_ipfilter.h"
|
||||
# endif
|
||||
# if defined(_KERNEL) && (__FreeBSD_version >= 501108) && !defined(KLD_MODULE)
|
||||
# if defined(_KERNEL) && (__FreeBSD_version >= 501108) && \
|
||||
(__FreeBSD_version < 600001) && !defined(KLD_MODULE)
|
||||
# include "opt_pfil_hooks.h"
|
||||
# endif
|
||||
#endif
|
||||
|
@ -497,7 +497,7 @@ typedef struct ipflog {
|
||||
#if (defined(NetBSD) && (NetBSD > 199609) && (NetBSD <= 1991011)) || \
|
||||
(defined(NetBSD1_2) && NetBSD1_2 > 1) || (defined(__FreeBSD_version) && \
|
||||
(__FreeBSD_version >= 500011))
|
||||
# if (NetBSD >= 199905)
|
||||
# if (NetBSD >= 199905) || (__FreeBSD_version >= 600001)
|
||||
# define PFIL_HOOKS
|
||||
# endif
|
||||
# ifdef PFIL_HOOKS
|
||||
|
Loading…
Reference in New Issue
Block a user