mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-12 00:44:03 +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:
parent
5c37b38c26
commit
da25c6a4cb
@ -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…
Reference in New Issue
Block a user