summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn
diff options
context:
space:
mode:
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 cfa00229..93080feb 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