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

SVN-Revision: 14114
master
Felix Fietkau 16 years ago
parent ae1b82df55
commit 4fc8f4c5c8
  1. 4
      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

Loading…
Cancel
Save