summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/_status.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/vpn/_status.py')
-rw-r--r--src/leap/bitmask/vpn/_status.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/_status.py b/src/leap/bitmask/vpn/_status.py
index 7c8ff6b..d4e8778 100644
--- a/src/leap/bitmask/vpn/_status.py
+++ b/src/leap/bitmask/vpn/_status.py
@@ -52,8 +52,11 @@ class VPNStatus(object):
self.set_status(status, errcode)
def set_status(self, status, errcode):
- if status in ("AUTH", "WAIT"):
+ if status in ("AUTH", "WAIT", "CONNECTING", "GET_CONFIG",
+ "ASSIGN_IP", "ADD_ROUTES", "RECONNECTING"):
status = "starting"
+ elif status == "EXITING":
+ status = "stopping"
elif status == "CONNECTED":
status = "on"