[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] re-enable DNS settings after you start Tor



commit c220ec9183179d5c8c2ab0d0a497b1a38131d250
Author: Nathan Freitas <nathan@xxxxxxxxxxx>
Date:   Wed Feb 4 22:02:32 2015 -0500

    re-enable DNS settings after you start Tor
---
 src/org/torproject/android/service/TorService.java |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java
index b287975..9bd64f1 100644
--- a/src/org/torproject/android/service/TorService.java
+++ b/src/org/torproject/android/service/TorService.java
@@ -809,6 +809,10 @@ public class TorService extends Service implements TorServiceConstants, TorConst
                 
                 shellRoot.close();
             }
+            else if (mUseVPN)
+            {
+            	enableVpnProxy();
+            }
             
             getHiddenServiceHostname ();
         }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits