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
This commit is contained in:
Felix Fietkau
2009-01-20 13:07:30 +00:00
parent 8e22c60fdb
commit f9279ae206

View File

@@ -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