remove unused routes

This commit is contained in:
Nathan Freitas 2014-10-25 08:47:18 -04:00
parent 6a53ddbdcd
commit 1b44dcbbe0
2 changed files with 2 additions and 1 deletions

View File

@ -866,7 +866,6 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
Intent intent = VpnService.prepare(this);
if (intent != null) {
startActivityForResult(intent,REQUEST_VPN);
}
}

View File

@ -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.