commit 1b44dcbbe0474bbfd70c922de00bc15ef5e67e12 Author: Nathan Freitas nathan@freitas.net Date: Sat Oct 25 08:47:18 2014 -0400
remove unused routes --- src/org/torproject/android/Orbot.java | 1 - src/org/torproject/android/vpn/OrbotVpnService.java | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/org/torproject/android/Orbot.java b/src/org/torproject/android/Orbot.java index 4430097..e812fbe 100644 --- a/src/org/torproject/android/Orbot.java +++ b/src/org/torproject/android/Orbot.java @@ -866,7 +866,6 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic Intent intent = VpnService.prepare(this); if (intent != null) { startActivityForResult(intent,REQUEST_VPN); - } }
diff --git a/src/org/torproject/android/vpn/OrbotVpnService.java b/src/org/torproject/android/vpn/OrbotVpnService.java index 754deb7..42a3a53 100644 --- a/src/org/torproject/android/vpn/OrbotVpnService.java +++ b/src/org/torproject/android/vpn/OrbotVpnService.java @@ -130,6 +130,8 @@ public class OrbotVpnService extends VpnService implements Handler.Callback { builder.setSession("OrbotVPN"); builder.addRoute("0.0.0.0",0); builder.addRoute("10.0.0.0",8); + //builder.addRoute("192.0.0.0",8); + //builder.addRoute("192.168.43.0",8); builder.addDnsServer("8.8.8.8"); // Create a new interface using the builder and save the parameters.
tor-commits@lists.torproject.org