summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2011-07-26 18:09:27 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-07-26 18:09:27 -0700
commit59da4baf881d7f5e2ae82bead547766cbf2c9710 (patch)
treeb43ad3af110fed4ce7896e21471fd830c3bb9ac8
parent7d8c2811e3604acfd6acfd2f7022919a633b394f (diff)
parentb725a59f3e45de8fcd3c01c512c94ba665acb992 (diff)
downloadnetd-59da4baf881d7f5e2ae82bead547766cbf2c9710.tar.gz
am b725a59f: Merge "DO NOT MERGE: NatController: remove flushing the INPUT/OUTPUT tables." into honeycomb-LTE
* commit 'b725a59f3e45de8fcd3c01c512c94ba665acb992': DO NOT MERGE: NatController: remove flushing the INPUT/OUTPUT tables.
-rw-r--r--NatController.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/NatController.cpp b/NatController.cpp
index ddb04997..8c719eb6 100644
--- a/NatController.cpp
+++ b/NatController.cpp
@@ -70,12 +70,8 @@ int NatController::setDefaults() {
if (runIptablesCmd("-P INPUT ACCEPT"))
return -1;
- if (runIptablesCmd("-F INPUT"))
- return -1;
if (runIptablesCmd("-P OUTPUT ACCEPT"))
return -1;
- if (runIptablesCmd("-F OUTPUT"))
- return -1;
if (runIptablesCmd("-P FORWARD DROP"))
return -1;
if (runIptablesCmd("-F FORWARD"))