aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commitf9279ae206c43b93dc24f62b4ae427f157051111 (patch)
tree3b10725fa95ac2e7ad1f7482758e4f89f5e4071e /package
parent8e22c60fdbf5fcc22434bb8ba4bedb51bfc90f1d (diff)
downloadupstream-f9279ae206c43b93dc24f62b4ae427f157051111.tar.gz
upstream-f9279ae206c43b93dc24f62b4ae427f157051111.tar.bz2
upstream-f9279ae206c43b93dc24f62b4ae427f157051111.zip
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
Diffstat (limited to 'package')
-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