aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2014-01-14 14:09:35 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2014-01-14 14:09:35 +0000
commit365b71ec95937b5769903132f565d8efa53ccd48 (patch)
treea0ec8f08c1962da3ca122cae777cf812cf10ea16 /package
parent9b4d6818c3cee65dfcfcfb671baa792ff74ce9b5 (diff)
downloadupstream-365b71ec95937b5769903132f565d8efa53ccd48.tar.gz
upstream-365b71ec95937b5769903132f565d8efa53ccd48.tar.bz2
upstream-365b71ec95937b5769903132f565d8efa53ccd48.zip
[modules] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39287 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/netfilter.mk2
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)