summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-02 20:16:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-02 20:16:26 +0000
commitd2bbc8b1845fa2c034a7393110336f099c77582f (patch)
tree3f865efd39b91f20fe7146a21e9529a4acce4af8 /openwrt
parent857c3cb625f8bfd497f72eeeec2b57358c63d819 (diff)
fix stupid typo in firewall init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3724 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt')
-rwxr-xr-xopenwrt/package/iptables/files/firewall.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/iptables/files/firewall.init b/openwrt/package/iptables/files/firewall.init
index a7cde95b5f..ad014cbaa3 100755
--- a/openwrt/package/iptables/files/firewall.init
+++ b/openwrt/package/iptables/files/firewall.init
@@ -34,7 +34,7 @@ iptables -t nat -N postrouting_rule
iptables -A INPUT -j input_rule
# allow
- iptables -A INPUT ${WAN:+-i \! $WAN} -j ACCEPT # allow from all interfaces except for wan
+ iptables -A INPUT ${WAN:+\! -i $WAN} -j ACCEPT # allow from all interfaces except for wan
iptables -A INPUT -p icmp -j ACCEPT # allow ICMP
iptables -A INPUT -p gre -j ACCEPT # allow GRE