summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/manager.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-02-22 01:30:33 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2017-02-23 00:42:21 +0100
commitf0a40443e1f2466db00f4a32273afa28e54d9dbb (patch)
tree7c4dbff806cddfcf148d82e96a00f5e161437eaf /src/leap/bitmask/vpn/manager.py
parent143c61353479c8040eb1160984af7cfbe7e53a55 (diff)
[bug] rename one of the managers to TunnelManager
otherwise there's a name collision with the former EIPManager
Diffstat (limited to 'src/leap/bitmask/vpn/manager.py')
-rw-r--r--src/leap/bitmask/vpn/manager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/manager.py b/src/leap/bitmask/vpn/manager.py
index ba1ae7c..88d10bb 100644
--- a/src/leap/bitmask/vpn/manager.py
+++ b/src/leap/bitmask/vpn/manager.py
@@ -30,7 +30,7 @@ from .constants import IS_WIN
# TODO this is very badly named. There is another class that is called
# manager. This
-class VPNManager(object):
+class TunnelManager(object):
def __init__(self, remotes, cert_path, key_path, ca_path, extra_flags):
"""
@@ -40,6 +40,7 @@ class VPNManager(object):
((ip1, portA), (ip2, portB), ...)
:type remotes: tuple of tuple(str, int)
"""
+ print "INIT", remotes
# TODO we can set all the needed ports, gateways and paths in here
# TODO need gateways here
# sorting them doesn't belong in here