summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-09-01 19:21:57 +0200
committerKali Kaneko <kali@leap.se>2013-09-01 19:21:57 +0200
commit579f06a924767962aac7d23df21d0cf2aa43a7bd (patch)
tree9ac1e6dfb14234662663b58e078d1c4e46b5f57a /src/leap/bitmask
parent7c1dbc4b9ccbc015f71c9973c4c98fa80b8632f2 (diff)
Fix arguments passed to get_selected_gateway()
Closes: #3658
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/services/eip/vpnlaunchers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/eip/vpnlaunchers.py b/src/leap/bitmask/services/eip/vpnlaunchers.py
index 15221c48..5921882b 100644
--- a/src/leap/bitmask/services/eip/vpnlaunchers.py
+++ b/src/leap/bitmask/services/eip/vpnlaunchers.py
@@ -417,7 +417,8 @@ class LinuxVPNLauncher(VPNLauncher):
gateways = []
leap_settings = LeapSettings(ProviderConfig.standalone)
- gateway_conf = leap_settings.get_selected_gateway()
+ domain = providerconfig.get_domain()
+ gateway_conf = leap_settings.get_selected_gateway(domain)
if gateway_conf == leap_settings.GATEWAY_AUTOMATIC:
gateway_selector = VPNGatewaySelector(eipconfig)