commit ae906d00aca893a7bf33136fbdd2f294ab0bbf46
Author: Nathan Freitas <[email protected]>
Date:   Thu Apr 17 10:16:49 2014 -0400

    use 127.0.0.1 and not localhost
---
 src/org/torproject/android/service/TorServiceConstants.java |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/org/torproject/android/service/TorServiceConstants.java 
b/src/org/torproject/android/service/TorServiceConstants.java
index 98129d9..29686f9 100644
--- a/src/org/torproject/android/service/TorServiceConstants.java
+++ b/src/org/torproject/android/service/TorServiceConstants.java
@@ -15,13 +15,11 @@ public interface TorServiceConstants {
        
        //torrc (tor config file)
        public final static String TORRC_ASSET_KEY = "torrc";
+       public final static String TORRCDIAG_ASSET_KEY = "torrcdiag";
        public final static String TORRC_TETHER_KEY = "torrctether";
        
        public final static String TOR_CONTROL_COOKIE = "control_auth_cookie";
        
-       //how to launch tor
-//     public final static String TOR_COMMAND_LINE_ARGS = "-f " + 
TORRC_INSTALL_PATH  + " || exit\n";
-               
        //privoxy
        public final static String PRIVOXY_ASSET_KEY = "privoxy";
        
@@ -54,7 +52,7 @@ public interface TorServiceConstants {
        public final static int PORT_SOCKS = 9050;
        
        //what is says!
-       public final static String IP_LOCALHOST = "localhost";
+       public final static String IP_LOCALHOST = "127.0.0.1";
        public final static int TOR_CONTROL_PORT = 9051;
        public final static int UPDATE_TIMEOUT = 1000;
        public final static int TOR_TRANSPROXY_PORT = 9040;



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to