aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-20 13:07:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-20 13:07:30 +0000
commit4fc8f4c5c83539f7b5e957e248232923d4d1d51f (patch)
tree1d8a6eeec4a296fb6c7ffa876d1af6dddbbfd781 /package/firewall/files
parentae1b82df5576e698d9cc7a96fedb50b0c70e4111 (diff)
downloadupstream-4fc8f4c5c83539f7b5e957e248232923d4d1d51f.tar.gz
upstream-4fc8f4c5c83539f7b5e957e248232923d4d1d51f.tar.bz2
upstream-4fc8f4c5c83539f7b5e957e248232923d4d1d51f.zip
firewall: don't clear the mangle table at startup or stop - it doesn't use it and clearing it breaks qos
SVN-Revision: 14114
Diffstat (limited to 'package/firewall/files')
-rwxr-xr-xpackage/firewall/files/uci_firewall.sh4
1 files changed, 0 insertions, 4 deletions
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