diff --git a/ogcp/templates/actions/oglive.html b/ogcp/templates/actions/oglive.html
index 9c9d48b..82bd957 100644
--- a/ogcp/templates/actions/oglive.html
+++ b/ogcp/templates/actions/oglive.html
@@ -32,8 +32,8 @@
{{oglive}} |
- {% for client in clients %}
- {{client}}
+ {% for ip in clients %}
+ {{ ip }}
{% endfor %}
|
diff --git a/ogcp/views.py b/ogcp/views.py
index 456b444..875d0ec 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -2125,11 +2125,10 @@ def get_clients_oglive(ips, server):
raise ServerErrorCode
resp = r.json()
oglive = resp['livedir']
- client_name = resp['name']
if oglive not in oglives:
- oglives[oglive] = [client_name]
+ oglives[oglive] = [ip]
else:
- oglives[oglive].append(client_name)
+ oglives[oglive].append(ip)
return oglives
@app.route('/action/oglive', methods=['GET', 'POST'])