firewall: don't clear the mangle table at startup or stop - it doesn't use it and clearing it breaks qos

SVN-Revision: 14114
This commit is contained in:
Felix Fietkau 2009-01-20 13:07:30 +00:00
parent ae1b82df55
commit 4fc8f4c5c8

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