add nat module fix from #1772
authorFelix Fietkau <nbd@openwrt.org>
Mon, 25 Jun 2007 09:55:07 +0000 (09:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 25 Jun 2007 09:55:07 +0000 (09:55 +0000)
SVN-Revision: 7727

include/netfilter.mk

index 1c9c752..2ff30c2 100644 (file)
@@ -103,6 +103,7 @@ IPT_IPSET-$(CONFIG_IP_NF_TARGET_SET) += $(P_V4)ipt_SET
 IPT_NAT-m :=
 ifneq ($(NF_KMOD),1)
   IPT_NAT-$(CONFIG_IP_NF_NAT) += $(P_V4)ipt_SNAT $(P_V4)ipt_DNAT
+  IPT_NAT-$(CONFIG_NF_NAT) += $(P_V4)ipt_SNAT $(P_V4)ipt_DNAT
 endif
 IPT_NAT-$(CONFIG_IP_NF_TARGET_MASQUERADE) += $(P_V4)ipt_MASQUERADE
 IPT_NAT-$(CONFIG_IP_NF_TARGET_MIRROR) += $(P_V4)ipt_MIRROR