Browse Source

Fixed a typo in the firewall scripts

SVN-Revision: 12616
Steven Barth 17 years ago
parent
commit
954c24c5ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/firewall/files/uci_firewall.sh

+ 1 - 1
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() {