diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2014-01-14 14:09:35 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2014-01-14 14:09:35 +0000 |
commit | 795db05efb56450a6b3678639e37c00acd41c875 (patch) | |
tree | b0532af95a118ab37d9fada5c183eeed96a7a6fa | |
parent | 01f465df05684ccfaffc438447cd645ffcfa1580 (diff) | |
download | master-31e0f0ae-795db05efb56450a6b3678639e37c00acd41c875.tar.gz master-31e0f0ae-795db05efb56450a6b3678639e37c00acd41c875.tar.bz2 master-31e0f0ae-795db05efb56450a6b3678639e37c00acd41c875.zip |
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
-rw-r--r-- | package/kernel/linux/modules/netfilter.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index 7509cede70..974cca717f 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -318,7 +318,7 @@ define KernelPackage/ipt-tproxy CONFIG_NETFILTER_XT_MATCH_SOCKET \ CONFIG_NETFILTER_XT_TARGET_TPROXY 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) AUTOLOAD:=$(call AutoProbe,$(notdir nf_tproxy_core $(IPT_TPROXY-m))) $(call AddDepends/ipt) |