aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-16 22:01:14 +0000
committerSteven Barth <steven@midlink.org>2008-09-16 22:01:14 +0000
commita7fb86ba05d78034be1e46a2cbcd99c12f581dfe (patch)
treea7b42734bf940c5703d3b0f347f25432b21c5ba3
parentd85c243ab1cf94246228fcca0f2243161476d636 (diff)
downloadmaster-187ad058-a7fb86ba05d78034be1e46a2cbcd99c12f581dfe.tar.gz
master-187ad058-a7fb86ba05d78034be1e46a2cbcd99c12f581dfe.tar.bz2
master-187ad058-a7fb86ba05d78034be1e46a2cbcd99c12f581dfe.zip
Fixed a typo in the firewall scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12616 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 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() {