summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/_control.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-02-04 23:09:27 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2017-02-23 00:40:38 +0100
commit7f07ffa13eaa51419af6f019bf9b36b298274485 (patch)
tree3f6c2ed42e9160ed1ff437f2744cd38440a5b870 /src/leap/bitmask/vpn/_control.py
parent229d672dbb68c5e25612f744595febc60ef6e3cb (diff)
[feature] add up/down traffic in status
Diffstat (limited to 'src/leap/bitmask/vpn/_control.py')
-rw-r--r--src/leap/bitmask/vpn/_control.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/_control.py b/src/leap/bitmask/vpn/_control.py
index e05aeed..31a1216 100644
--- a/src/leap/bitmask/vpn/_control.py
+++ b/src/leap/bitmask/vpn/_control.py
@@ -98,6 +98,10 @@ class VPNControl(object):
return 'OFFLINE'
return self._vpnproc.status
+ @property
+ def traffic_status(self):
+ return self._vpnproc.traffic_status
+
def stop(self, shutdown=False, restart=False):
"""