aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-05-26 10:51:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-05-26 10:51:01 +0000
commit4008fffa258694518fd071807bf467ab3c7e9575 (patch)
tree1b1d1e7606e7a1827a878d0b88c77a1e73c3bc10
parent852a43eef9213dc28e0f2b08ef03d7d8f6451c62 (diff)
downloadmaster-187ad058-4008fffa258694518fd071807bf467ab3c7e9575.tar.gz
master-187ad058-4008fffa258694518fd071807bf467ab3c7e9575.tar.bz2
master-187ad058-4008fffa258694518fd071807bf467ab3c7e9575.zip
[package] fix typo in the uci firewall script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16076 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 5ea5007de7..263a33d153 100755
--- a/package/firewall/files/uci_firewall.sh
+++ b/package/firewall/files/uci_firewall.sh
@@ -93,7 +93,7 @@ addif() {
$IPTABLES -I zone_${zone}_nat 1 -t nat -o "$ifname" -j MASQUERADE
$IPTABLES -I PREROUTING 1 -t nat -i "$ifname" -j zone_${zone}_prerouting
$IPTABLES -A forward -i "$ifname" -j zone_${zone}_forward
- $IPTABLES -t raw -I PREROUTING 1 -i "$ifname" -j zone_${name}_notrack
+ $IPTABLES -t raw -I PREROUTING 1 -i "$ifname" -j zone_${zone}_notrack
uci_set_state firewall core "${network}_ifname" "$ifname"
uci_set_state firewall core "${network}_zone" "$zone"
}