From 04bce963c2314dc9b21bd86224e75c22aae39d70 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 28 Aug 2017 11:00:30 -0400 Subject: [tests] fix check-ip script --- src/leap/bitmask/vpn/fw/firewall.py | 2 ++ src/leap/bitmask/vpn/tunnel.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/leap/bitmask/vpn') diff --git a/src/leap/bitmask/vpn/fw/firewall.py b/src/leap/bitmask/vpn/fw/firewall.py index 71479718..f4325c77 100644 --- a/src/leap/bitmask/vpn/fw/firewall.py +++ b/src/leap/bitmask/vpn/fw/firewall.py @@ -114,6 +114,7 @@ class _LinuxFirewallManager(object): if restart: cmd.append("restart") + print "LAUNCHING FIREWALL..." result = '' try: retcode, result = commands.getstatusoutput( @@ -122,6 +123,7 @@ class _LinuxFirewallManager(object): log.failure('Error launching the firewall') finally: log.debug(result) + print "LAUNCHED FIREWALL" emit_async(catalog.VPN_STATUS_CHANGED) return True diff --git a/src/leap/bitmask/vpn/tunnel.py b/src/leap/bitmask/vpn/tunnel.py index 7dd1d25b..831f04d2 100644 --- a/src/leap/bitmask/vpn/tunnel.py +++ b/src/leap/bitmask/vpn/tunnel.py @@ -41,7 +41,7 @@ RESTART_WAIT = 2 # in secs class ConfiguredTunnel(object): """ - A ConfiguredTunne holds the configuration for a VPN connection, and allows + A ConfiguredTunnel holds the configuration for a VPN connection, and allows to control that connection. This is the high-level object that the service knows about. -- cgit v1.2.3