From: jow Date: Mon, 12 Mar 2012 02:09:16 +0000 (+0000) Subject: [backfire] netfilter: fix ipt_ttl and ipt_TTL userspace library packaging X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=9649600c69ba8e574ffb1fd9558fce0a7a7cd58b [backfire] netfilter: fix ipt_ttl and ipt_TTL userspace library packaging git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@30898 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/netfilter.mk b/include/netfilter.mk index 13116401f..12a04e6f4 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -145,8 +145,10 @@ else endif ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.30)),1) - $(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_HL, $(P_XT)xt_hl)) - $(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_HL, $(P_XT)xt_HL)) + $(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_HL, $(P_XT)xt_hl))) + $(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_HL, $(P_XT)xt_HL))) + $(eval $(if $(NF_KMOD),,$(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_HL, $(P_XT)xt_ttl))) + $(eval $(if $(NF_KMOD),,$(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_HL, $(P_XT)xt_TTL))) else $(eval $(call nf_add,IPT_IPOPT,CONFIG_IP_NF_MATCH_TTL, $(P_V4)ipt_ttl)) $(eval $(call nf_add,IPT_IPOPT,CONFIG_IP_NF_TARGET_TTL, $(P_V4)ipt_TTL)) diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index e3e048dd2..d122e3cbf 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -120,7 +120,7 @@ define KernelPackage/ipt-ipopt/description - tcpmss - time - tos/TOS (prior to 2.6.25) - - ttl/TTL (prior to 2.6.30) + - ttl/TTL - unclean endef