commit 63c4e973557eef7975d0d2b3eac3fb1a91a6e7d8 Author: Nathan Freitas nathan@freitas.net Date: Wed Jan 25 20:03:54 2012 -0500
minor code format change --- .../torproject/android/service/TorTransProxy.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/org/torproject/android/service/TorTransProxy.java b/src/org/torproject/android/service/TorTransProxy.java index b013045..dbb955b 100644 --- a/src/org/torproject/android/service/TorTransProxy.java +++ b/src/org/torproject/android/service/TorTransProxy.java @@ -273,9 +273,9 @@ public class TorTransProxy implements TorServiceConstants { script.append(" --dport "); script.append(port); script.append(" -j ACCEPT"); - script.append(" || exit\n"); - + script.append(" || exit\n"); } + // Allow loopback script.append(ipTablesPath); script.append(" -t filter"); @@ -310,8 +310,8 @@ public class TorTransProxy implements TorServiceConstants { script.append(" || exit\n"); } - } - + } +
// Allow everything for Tor script.append(ipTablesPath);