summaryrefslogtreecommitdiff
path: root/src/se/leap
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-12-03 22:43:25 +0100
committerParménides GV <parmegv@sdf.org>2013-12-04 16:02:11 +0100
commit017e493dc7c7e0565000d2afa76eb93c1fa5c2d6 (patch)
treedc4059aa652b4af01119afa5bda61e3cb6e8a57a /src/se/leap
parent6dfb02da9cd6c28b8a3016cf78454add6408c13d (diff)
Active gateway is updated every eip start.
Diffstat (limited to 'src/se/leap')
-rw-r--r--src/se/leap/bitmaskclient/EIP.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/se/leap/bitmaskclient/EIP.java b/src/se/leap/bitmaskclient/EIP.java
index 13261e29..ec2f6972 100644
--- a/src/se/leap/bitmaskclient/EIP.java
+++ b/src/se/leap/bitmaskclient/EIP.java
@@ -214,8 +214,7 @@ public final class EIP extends IntentService {
* Intent to {@link se.leap.openvpn.LaunchVPN}
*/
private void startEIP() {
- if (activeGateway==null)
- activeGateway = selectGateway();
+ activeGateway = selectGateway();
Intent intent = new Intent(this,LaunchVPN.class);
intent.setAction(Intent.ACTION_MAIN);