summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/process.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-16 17:18:16 -0400
committerKali Kaneko <kali@leap.se>2017-08-30 16:16:55 -0400
commitb94de93268867e8cab533f29e85110e2c35d2bda (patch)
tree20360220cda0594b52c5755de982ba93ebd6f3b9 /src/leap/bitmask/vpn/process.py
parent8761226a9da4695a7dea6be17e3b349288e5f720 (diff)
[bug] avoid state flickering when state string is empty
we set status to 'off' by default. - Resolves: #9013
Diffstat (limited to 'src/leap/bitmask/vpn/process.py')
-rw-r--r--src/leap/bitmask/vpn/process.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py
index 8506eb61..3a86160b 100644
--- a/src/leap/bitmask/vpn/process.py
+++ b/src/leap/bitmask/vpn/process.py
@@ -237,18 +237,6 @@ class _VPNProcess(protocol.ProcessProtocol):
self.log.debug("{0}".format(" ".join(command)))
return command
- def getGateways(self):
- """
- Get the gateways from the appropiate launcher.
-
- :rtype: list
- """
- gateways_ports = self._launcher.get_gateways(
- self._vpnconfig, self._providerconfig)
-
- # filter out ports since we don't need that info
- return [gateway for gateway, port in gateways_ports]
-
def get_openvpn_process(self):
return self._management.get_openvpn_process()