summaryrefslogtreecommitdiff
path: root/package/firewall/files/uci_firewall.sh
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
commit7e2361d46a811aaf38abe7b170494932adcd107a (patch)
tree1f06d68bf438d13550d32e1a5306463770eb2e5d /package/firewall/files/uci_firewall.sh
parenta94930dbbbe4a7f616963224b0336aeb16600495 (diff)
downloadmtk-20170518-7e2361d46a811aaf38abe7b170494932adcd107a.zip
mtk-20170518-7e2361d46a811aaf38abe7b170494932adcd107a.tar.gz
mtk-20170518-7e2361d46a811aaf38abe7b170494932adcd107a.tar.bz2
fix typo in the uci firewall script
SVN-Revision: 16076
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 5ea5007..263a33d 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"
}