From: nbd 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.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=da25c6a4cb337eab2221b03f484b069df9de7a82 firewall: don't clear the mangle table at startup or stop - it doesn't use it and clearing it breaks qos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14114 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh index f38bd6b9a..f6fa82b9c 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