summaryrefslogtreecommitdiff
path: root/openwrt/include/netfilter.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-22 12:33:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-22 12:33:28 +0000
commitdaa509ea7fa0b2c79b84cb476aee5dcecae54684 (patch)
treee5c8d68e01d9ac0fc336ba1fdc82c6d9d62321ea /openwrt/include/netfilter.mk
parent2a08d05aa305c9e57bfe563fa4399303475a9684 (diff)
downloadmtk-20170518-daa509ea7fa0b2c79b84cb476aee5dcecae54684.zip
mtk-20170518-daa509ea7fa0b2c79b84cb476aee5dcecae54684.tar.gz
mtk-20170518-daa509ea7fa0b2c79b84cb476aee5dcecae54684.tar.bz2
port over the netfilter module packaging to the new system and fix iptables dependencies
SVN-Revision: 4206
Diffstat (limited to 'openwrt/include/netfilter.mk')
-rw-r--r--openwrt/include/netfilter.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/openwrt/include/netfilter.mk b/openwrt/include/netfilter.mk
index 236d4b2..d4ec0f3 100644
--- a/openwrt/include/netfilter.mk
+++ b/openwrt/include/netfilter.mk
@@ -6,12 +6,9 @@
#
# $Id: netfilter.mk 2411 2005-11-11 03:41:43Z nico $
-ifeq ($(NF_2_6),1)
+ifeq ($(NF_KMOD),1)
P_V4:=ipv4/netfilter/
P_XT:=netfilter/
-else
-P_V4:=
-P_XT:=
endif
IPT_CONNTRACK-m :=
@@ -84,6 +81,7 @@ IPT_NAT-$(CONFIG_IP_NF_NAT) += $(P_V4)ipt_SNAT $(P_V4)ipt_DNAT
IPT_NAT-$(CONFIG_IP_NF_TARGET_MASQUERADE) += $(P_V4)ipt_MASQUERADE
IPT_NAT-$(CONFIG_IP_NF_TARGET_MIRROR) += $(P_V4)ipt_MIRROR
IPT_NAT-$(CONFIG_IP_NF_TARGET_REDIRECT) += $(P_V4)ipt_REDIRECT
+IPT_NAT-$(CONFIG_IP_NF_TARGET_NETMAP) += $(P_V4)ipt_NETMAP
IPT_NAT_EXTRA-m :=
IPT_NAT_EXTRA-$(CONFIG_IP_NF_AMANDA) += $(P_V4)ip_conntrack_amanda