mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user