summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-05-29 20:19:24 +0200
committerParménides GV <parmegv@sdf.org>2014-05-29 20:19:24 +0200
commite50339824809da28beabfaf9ecea7414c131cbfe (patch)
tree5a9ec35a0c6d9d77afcb98eb8d88d342116986e6 /app/src/main/java/se
parent2ee8fb46dc2b719426e9735ba4a80729f1edc1d8 (diff)
ics-openvpn receives ifconfig from the server.
Refactored AndroidManifest to include launchvpn and openvpnservice. Imported changes from ics-openvpn-upstream
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/EIP.java5
1 files changed, 4 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 7d001865..0058eff2 100644
--- a/app/src/main/java/se/leap/bitmaskclient/EIP.java
+++ b/app/src/main/java/se/leap/bitmaskclient/EIP.java
@@ -536,7 +536,10 @@ public final class EIP extends IntentService {
// TODO Auto-generated catch block
e.printStackTrace();
}
-
+
+ // We are always client, because the ifconfig will be received by a needed command
+ options.put("client", null);
+
try {
arg.add(remote);
arg.add(mGateway.getString(remote));