fix stupid typo in firewall init script
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 2 May 2006 20:16:26 +0000 (20:16 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 2 May 2006 20:16:26 +0000 (20:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3724 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/iptables/files/firewall.init

index a7cde95..ad014cb 100755 (executable)
@@ -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
 
This page took 0.027153 seconds and 4 git commands to generate.