summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index aae889f..2d995fd 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -139,6 +139,7 @@ def add_state_and_ips(scope, clients, ips):
client = next(filtered_client, False)
if client:
scope['state'] = client['state']
+ scope['link'] = client.get('speed')
else:
scope['state'] = 'off'
scope['ip'] = [scope['ip']]