From: Felix Fietkau Date: Tue, 20 Jan 2009 13:07:30 +0000 (+0000) Subject: firewall: don't clear the mangle table at startup or stop - it doesn't use it and... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4fc8f4c5c83539f7b5e957e248232923d4d1d51f;p=openwrt%2Fstaging%2Fldir.git firewall: don't clear the mangle table at startup or stop - it doesn't use it and clearing it breaks qos SVN-Revision: 14114 --- diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh index f38bd6b9ae..f6fa82b9cb 100755 --- a/package/firewall/files/uci_firewall.sh +++ b/package/firewall/files/uci_firewall.sh @@ -154,9 +154,7 @@ fw_defaults() { $IPTABLES -P FORWARD DROP $IPTABLES -F - $IPTABLES -t mangle -F $IPTABLES -t nat -F - $IPTABLES -t mangle -X $IPTABLES -t nat -X $IPTABLES -X @@ -419,9 +417,7 @@ fw_init() { fw_stop() { $IPTABLES -F - $IPTABLES -t mangle -F $IPTABLES -t nat -F - $IPTABLES -t mangle -X $IPTABLES -t nat -X $IPTABLES -X $IPTABLES -P INPUT ACCEPT