From 579f06a924767962aac7d23df21d0cf2aa43a7bd Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Sun, 1 Sep 2013 19:21:57 +0200 Subject: Fix arguments passed to get_selected_gateway() Closes: #3658 --- src/leap/bitmask/services/eip/vpnlaunchers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3