summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm b/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm
index 2e7b490f4..3cb0ca224 100644
--- a/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm
+++ b/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm
@@ -34,7 +34,7 @@ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "interface
state = '<%:Online%>';
time = String.format(
'<div><strong>Uptime: </strong>%s</div>',
- secondsToString(status.interfaces[iface].uptime)
+ secondsToString(status.interfaces[iface].online)
);
css = 'success';
break;
@@ -42,7 +42,7 @@ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "interface
state = '<%:Offline%>';
time = String.format(
'<div><strong>Downtime: </strong>%s</div>',
- secondsToString(status.interfaces[iface].downtime)
+ secondsToString(status.interfaces[iface].offline)
);
css = 'danger';
break;