1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-03-13 18:19:12 +02:00

Fixed a typo in the firewall scripts

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12616 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cyrus 2008-09-16 22:01:14 +00:00
parent dda76453d2
commit 40b17025ed

View File

@ -49,7 +49,7 @@ create_zone() {
$IPTABLES -A OUTPUT -j zone_$1_$4 $IPTABLES -A OUTPUT -j zone_$1_$4
$IPTABLES -N zone_$1_nat -t nat $IPTABLES -N zone_$1_nat -t nat
$IPTABLES -N zone_$1_prerouting -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() { addif() {