summaryrefslogtreecommitdiff
path: root/package/firewall
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-20 13:07:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-20 13:07:30 +0000
commitda25c6a4cb337eab2221b03f484b069df9de7a82 (patch)
tree3b10725fa95ac2e7ad1f7482758e4f89f5e4071e /package/firewall
parent5c37b38c26bb2d3c2e7ba2036942d1aa5a34f523 (diff)
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/firewall')
-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