projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a typo in the firewall scripts
[openwrt/svn-archive/archive.git]
/
package
/
firewall
/
files
/
uci_firewall.sh
diff --git
a/package/firewall/files/uci_firewall.sh
b/package/firewall/files/uci_firewall.sh
index 85af805b7e27df75010f1aa2af24555a6fb5cf1f..22731af98e6f6e9b82e8b593772ed87529020322 100755
(executable)
--- 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
$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() {
}
addif() {