summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/base/checks.py2
-rw-r--r--src/leap/base/exceptions.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/base/checks.py b/src/leap/base/checks.py
index dc2602c2..c7839548 100644
--- a/src/leap/base/checks.py
+++ b/src/leap/base/checks.py
@@ -68,6 +68,8 @@ class LeapNetworkChecker(object):
if not platform.system() == "Linux":
raise NotImplementedError
+ # XXX GET DARWIN IMPLEMENTATION
+
f = open("/proc/net/route")
route_table = f.readlines()
f.close()
diff --git a/src/leap/base/exceptions.py b/src/leap/base/exceptions.py
index c5e56b76..2e31b33b 100644
--- a/src/leap/base/exceptions.py
+++ b/src/leap/base/exceptions.py
@@ -90,8 +90,8 @@ class CannotResolveDomainError(LeapException):
"Domain cannot be found")
-class TunnelNotDefaultRouteError(CriticalError):
+class TunnelNotDefaultRouteError(LeapException):
message = "Tunnel connection dissapeared. VPN down?"
usermessage = translate(
"Errors",
- "The Encrypted Connection was lost. Shutting down...")
+ "The Encrypted Connection was lost.")