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

n8fr8 at torproject.org n8fr8 at torproject.org
Fri Apr 3 17:04:05 UTC 2015


commit c220ec9183179d5c8c2ab0d0a497b1a38131d250
Author: Nathan Freitas <nathan at freitas.net>
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 ();
         }





More information about the tor-commits mailing list