1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 03:56:15 +02:00

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
This commit is contained in:
nbd 2009-01-20 13:07:30 +00:00
parent 5c37b38c26
commit da25c6a4cb

View File

@ -154,9 +154,7 @@ fw_defaults() {
$IPTABLES -P FORWARD DROP $IPTABLES -P FORWARD DROP
$IPTABLES -F $IPTABLES -F
$IPTABLES -t mangle -F
$IPTABLES -t nat -F $IPTABLES -t nat -F
$IPTABLES -t mangle -X
$IPTABLES -t nat -X $IPTABLES -t nat -X
$IPTABLES -X $IPTABLES -X
@ -419,9 +417,7 @@ fw_init() {
fw_stop() { fw_stop() {
$IPTABLES -F $IPTABLES -F
$IPTABLES -t mangle -F
$IPTABLES -t nat -F $IPTABLES -t nat -F
$IPTABLES -t mangle -X
$IPTABLES -t nat -X $IPTABLES -t nat -X
$IPTABLES -X $IPTABLES -X
$IPTABLES -P INPUT ACCEPT $IPTABLES -P INPUT ACCEPT