summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-11-11 21:47:11 +0100
committerParménides GV <parmegv@sdf.org>2014-11-11 21:47:11 +0100
commitd87577bb6dc7fffa8ca381bef32e6069bc3c5655 (patch)
treeaa8e9fae3627c03feec904c232acb06554b649a6
parent6544b8d32ccf81a6c1d832217642b873be8dc6b7 (diff)
Blocking VPN stays as far as no established connection exists.
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/EIP.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/EIP.java b/app/src/main/java/se/leap/bitmaskclient/EIP.java
index ad7552c8..dea916f5 100644
--- a/app/src/main/java/se/leap/bitmaskclient/EIP.java
+++ b/app/src/main/java/se/leap/bitmaskclient/EIP.java
@@ -152,13 +152,13 @@ public final class EIP extends IntentService {
* It also sets up early routes.
*/
private void startEIP() {
- earlyRoutes();
activeGateway = selectGateway();
if(activeGateway != null && activeGateway.mVpnProfile != null) {
mReceiver = EipServiceFragment.getReceiver();
launchActiveGateway();
}
+ earlyRoutes();
}
/**