summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-28 11:00:30 -0400
committerKali Kaneko <kali@leap.se>2017-08-30 16:18:49 -0400
commit04bce963c2314dc9b21bd86224e75c22aae39d70 (patch)
tree736153ff8d812b5402415e6ccc1854953754d81c /src/leap/bitmask/vpn
parent8ba14779884b2d1913de1ae4abf6fdeea130838a (diff)
[tests] fix check-ip script
Diffstat (limited to 'src/leap/bitmask/vpn')
-rw-r--r--src/leap/bitmask/vpn/fw/firewall.py2
-rw-r--r--src/leap/bitmask/vpn/tunnel.py2
2 files changed, 3 insertions, 1 deletions
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 = '<did not run>'
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.