From: wigyori Date: Tue, 14 Jan 2014 14:09:35 +0000 (+0000) Subject: [modules] ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel... X-Git-Tag: fast2504n-3.10.28-merged~307 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=67cb24157a5338a5159e3ba488ce546114f1e0a2;p=openwrt.git [modules] ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel version Signed-off-by: Zoltan HERPAI git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39287 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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)