From: Steven Barth <cyrus@openwrt.org>
Date: Tue, 16 Sep 2008 22:01:14 +0000 (+0000)
Subject: Fixed a typo in the firewall scripts
X-Git-Tag: reboot~25580
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=954c24c5ed6d5e0ab96eb9c5de706129dafef887;p=openwrt%2Fopenwrt.git

Fixed a typo in the firewall scripts

SVN-Revision: 12616
---

diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh
index 85af805b7e..22731af98e 100755
--- a/package/firewall/files/uci_firewall.sh
+++ b/package/firewall/files/uci_firewall.sh
@@ -49,7 +49,7 @@ create_zone() {
 	$IPTABLES -A OUTPUT -j zone_$1_$4
 	$IPTABLES -N zone_$1_nat -t nat
 	$IPTABLES -N zone_$1_prerouting -t nat
-	[ "$6" == "1" ] && $IPTABLES -t nat -A POSTROUTING -j zone_$2_nat
+	[ "$6" == "1" ] && $IPTABLES -t nat -A POSTROUTING -j zone_$1_nat
 }
 
 addif() {