summaryrefslogtreecommitdiff
path: root/package/firewall/files/uci_firewall.sh
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2008-09-16 22:01:14 +0000
committerSteven Barth <cyrus@openwrt.org>2008-09-16 22:01:14 +0000
commit954c24c5ed6d5e0ab96eb9c5de706129dafef887 (patch)
tree2d0529df624ad39ae6558b45ab857c5c08aa9f1c /package/firewall/files/uci_firewall.sh
parent551bee5fa6aa7043fcfeb3e4117e5ab88f7328d4 (diff)
downloadmtk-20170518-954c24c5ed6d5e0ab96eb9c5de706129dafef887.zip
mtk-20170518-954c24c5ed6d5e0ab96eb9c5de706129dafef887.tar.gz
mtk-20170518-954c24c5ed6d5e0ab96eb9c5de706129dafef887.tar.bz2
Fixed a typo in the firewall scripts
SVN-Revision: 12616
Diffstat (limited to 'package/firewall/files/uci_firewall.sh')
-rwxr-xr-xpackage/firewall/files/uci_firewall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh
index 85af805..22731af 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() {