ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel version
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39287
This commit is contained in:
parent
01f465df05
commit
795db05efb
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ define KernelPackage/ipt-tproxy
|
||||||
CONFIG_NETFILTER_XT_MATCH_SOCKET \
|
CONFIG_NETFILTER_XT_MATCH_SOCKET \
|
||||||
CONFIG_NETFILTER_XT_TARGET_TPROXY
|
CONFIG_NETFILTER_XT_TARGET_TPROXY
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/net/netfilter/nf_tproxy_core.ko \
|
$(if $(call kernel_patchver_lt,3.12),$(LINUX_DIR)/net/netfilter/nf_tproxy_core.ko) \
|
||||||
$(foreach mod,$(IPT_TPROXY-m),$(LINUX_DIR)/net/$(mod).ko)
|
$(foreach mod,$(IPT_TPROXY-m),$(LINUX_DIR)/net/$(mod).ko)
|
||||||
AUTOLOAD:=$(call AutoProbe,$(notdir nf_tproxy_core $(IPT_TPROXY-m)))
|
AUTOLOAD:=$(call AutoProbe,$(notdir nf_tproxy_core $(IPT_TPROXY-m)))
|
||||||
$(call AddDepends/ipt)
|
$(call AddDepends/ipt)
|
||||||
|
|
Loading…
Reference in a new issue