diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-07-22 12:33:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-07-22 12:33:28 +0000 |
commit | 82c9eedccfcb2a2eb55ad4c0288a9e3c776a9963 (patch) | |
tree | 8ab0cc54b0972a61aa059bd17754180224931733 /include/netfilter.mk | |
parent | 55c64ab5cbffcf02cd58a544d68f3eac6bc0b223 (diff) | |
download | upstream-82c9eedccfcb2a2eb55ad4c0288a9e3c776a9963.tar.gz upstream-82c9eedccfcb2a2eb55ad4c0288a9e3c776a9963.tar.bz2 upstream-82c9eedccfcb2a2eb55ad4c0288a9e3c776a9963.zip |
port over the netfilter module packaging to the new system and fix iptables dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4206 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/netfilter.mk')
-rw-r--r-- | include/netfilter.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/netfilter.mk b/include/netfilter.mk index 236d4b2429..d4ec0f3915 100644 --- a/include/netfilter.mk +++ b/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 |