projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a94930d
)
fix typo in the uci firewall script
author
Florian Fainelli
<florian@openwrt.org>
Tue, 26 May 2009 10:51:01 +0000
(10:51 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Tue, 26 May 2009 10:51:01 +0000
(10:51 +0000)
SVN-Revision: 16076
package/firewall/files/uci_firewall.sh
patch
|
blob
|
history
diff --git
a/package/firewall/files/uci_firewall.sh
b/package/firewall/files/uci_firewall.sh
index 5ea5007de7277e1e4b9fa40b03e73ad5dba110cd..263a33d153569a0e008c94733583fa86123b820a 100755
(executable)
--- 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_${
nam
e}_notrack
+ $IPTABLES -t raw -I PREROUTING 1 -i "$ifname" -j zone_${
zon
e}_notrack
uci_set_state firewall core "${network}_ifname" "$ifname"
uci_set_state firewall core "${network}_zone" "$zone"
}