summaryrefslogtreecommitdiff
path: root/openwrt/package/iptables
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-02 20:16:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-02 20:16:26 +0000
commite7e81657c7203e8a67e0ba234304b98cf83eb795 (patch)
tree624fc35cefdc73e522056614233bb7802da6725f /openwrt/package/iptables
parentbd14e7766bcf1c7decd625b5a3badb3db6f6da6a (diff)
downloadmtk-20170518-e7e81657c7203e8a67e0ba234304b98cf83eb795.zip
mtk-20170518-e7e81657c7203e8a67e0ba234304b98cf83eb795.tar.gz
mtk-20170518-e7e81657c7203e8a67e0ba234304b98cf83eb795.tar.bz2
fix stupid typo in firewall init script
SVN-Revision: 3724
Diffstat (limited to 'openwrt/package/iptables')
-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 a7cde95..ad014cb 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