From 05cdff086cfa4b4770d1d1af50b1f462e09b1632 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 29 Jun 2017 17:03:08 +0200 Subject: [refactor] rename VPNTunnel to TunnelManager So it's coherent with FirewallManager. - Related: #8942 --- src/leap/bitmask/vpn/service.py | 4 ++-- src/leap/bitmask/vpn/tunnel.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py index 075295cf..ccdbc11f 100644 --- a/src/leap/bitmask/vpn/service.py +++ b/src/leap/bitmask/vpn/service.py @@ -29,7 +29,7 @@ from twisted.logger import Logger from leap.bitmask.hooks import HookableService from leap.bitmask.util import merge_status from leap.bitmask.vpn.fw.firewall import FirewallManager -from leap.bitmask.vpn.tunnel import VPNTunnel +from leap.bitmask.vpn.tunnel import TunnelManager from leap.bitmask.vpn._checks import is_service_ready, get_vpn_cert_path from leap.bitmask.vpn import privilege, helpers from leap.bitmask.vpn.privilege import NoPolkitAuthAgentAvailable @@ -212,7 +212,7 @@ class VPNService(HookableService): 'Cannot find provider certificate. ' 'Please configure provider.') - self._tunnel = VPNTunnel( + self._tunnel = TunnelManager( provider, remotes, cert_path, key_path, ca_path, extra_flags) self._firewall = FirewallManager(remotes) diff --git a/src/leap/bitmask/vpn/tunnel.py b/src/leap/bitmask/vpn/tunnel.py index 70b4be0e..c62d0670 100644 --- a/src/leap/bitmask/vpn/tunnel.py +++ b/src/leap/bitmask/vpn/tunnel.py @@ -37,7 +37,7 @@ from .constants import IS_WIN # TODO ConfiguredVPNConnection ? -class VPNTunnel(object): +class TunnelManager(object): """ A VPN Tunnel holds the configuration for a VPN connection, and allows to -- cgit v1.2.3