api/routers: Use MAC address for link to router

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2018-01-22 18:28:38 +01:00
parent 72e60a9fd6
commit 452b0db35a
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ def routers():
'hardware': router['hardware'],
'firmware': router['firmware'],
'loadavg': router['sys_loadavg'],
'href': 'https://monitoring.freifunk-franken.de/routers/' + str(router['id']),
'href': 'https://monitoring.freifunk-franken.de/mac/' + router['mac'],
'clients': router['clients'],
'lastcontact': router['last_contact'].isoformat(),
'uplink': {