summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-10 17:49:53 -0400
committerKali Kaneko <kali@leap.se>2017-08-11 14:21:56 -0400
commit763f88658a4e6d12557c7931f5435ebd35548ca7 (patch)
treea68466c2dcc2d495d11b702e73afef90a4dbcbb4 /src/leap/bitmask/vpn
parent63a68c4c976ec62cd0bd42bd1a365592201fb433 (diff)
[feature] add a new bitmask_chromium gui entrypoint
If chromium is installed in the system, there's no need to depend on qt5.
Diffstat (limited to 'src/leap/bitmask/vpn')
-rw-r--r--src/leap/bitmask/vpn/service.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py
index cfa0022..93080fe 100644
--- a/src/leap/bitmask/vpn/service.py
+++ b/src/leap/bitmask/vpn/service.py
@@ -197,6 +197,9 @@ class VPNService(HookableService):
bonafide = self.parent.getServiceNamed("bonafide")
config = yield bonafide.do_provider_read(provider, "eip")
+
+ # TODO - add gateway selection ability.
+ # First thing, we should port the TimezonSelector
remotes = [(gw["ip_address"], gw["capabilities"]["ports"][0])
for gw in config.gateways]
extra_flags = config.openvpn_configuration