projects
/
openwrt
/
staging
/
lynxis
/
omap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae1b82d
)
firewall: don't clear the mangle table at startup or stop - it doesn't use it and...
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 20 Jan 2009 13:07:30 +0000
(13:07 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 20 Jan 2009 13:07:30 +0000
(13:07 +0000)
SVN-Revision: 14114
package/firewall/files/uci_firewall.sh
patch
|
blob
|
history
diff --git
a/package/firewall/files/uci_firewall.sh
b/package/firewall/files/uci_firewall.sh
index f38bd6b9ae19c3e1d114c964c651804c347985a7..f6fa82b9cb0a249c9b89b3724f235bcf47a1ad59 100755
(executable)
--- 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