summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-14 13:47:25 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-14 13:47:25 +0100
commitb03ee4a097e01e3a77943292a779f4b959ac17ac (patch)
tree3c5578e133119e4509febd267bb3452b27f772ca /modules/luci-mod-status/htdocs
parent824cb658409b0267ab3790178a8e85f0216cef3b (diff)
luci-mod-status: display secondary lease IPv6 addresses if available
Ref: https://forum.openwrt.org/t/luci-not-showing-2nd-ipv6-address/48271 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/htdocs')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
index 1a2f70fbfa..83c0c151eb 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
@@ -81,7 +81,7 @@ return L.Class.extend({
return [
host || '-',
- lease.ip6addr,
+ lease.ip6addrs ? lease.ip6addrs.join(' ') : lease.ip6addr,
lease.duid,
exp
];