X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5e9bcc13ca9601f8c64993a34b31b8f0d4c7159c..3811f77e30bd1ced9f69708b3dbcf28bf3ba88d1:/package/kernel/modules/netfilter.mk diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index 45ae41f92..dc839e23b 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -1,3 +1,4 @@ + # # Copyright (C) 2006-2008 OpenWrt.org # @@ -78,7 +79,7 @@ define KernelPackage/ipt-filter KCONFIG:=$(KCONFIG_IPT_FILTER) FILES:=$(foreach mod,$(IPT_FILTER-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_FILTER-m))) - DEPENDS:= kmod-ipt-core @LINUX_2_4||+kmod-textsearch + DEPENDS:=kmod-ipt-core +LINUX_2_6:kmod-textsearch endef define KernelPackage/ipt-filter/description @@ -228,7 +229,7 @@ define KernelPackage/ipt-imq CONFIG_IMQ \ CONFIG_IMQ_BEHAVIOR_BA=y \ CONFIG_IMQ_NUM_DEVS=2 \ - CONFIG_IP_NF_TARGET_IMQ + CONFIG_NETFILTER_XT_TARGET_IMQ FILES:= \ $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX) \ $(foreach mod,$(IPT_IMQ-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) @@ -370,7 +371,9 @@ define KernelPackage/arptables SUBMENU:=$(NF_MENU) TITLE:=ARP firewalling modules FILES:=$(LINUX_DIR)/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX) - KCONFIG:=CONFIG_IP_NF_ARPTABLES + KCONFIG:=CONFIG_IP_NF_ARPTABLES \ + CONFIG_IP_NF_ARPFILTER \ + CONFIG_IP_NF_ARP_MANGLE AUTOLOAD:=$(call AutoLoad,49,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX))))) endef