diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-11-14 13:47:25 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-11-14 13:47:25 +0100 |
commit | b03ee4a097e01e3a77943292a779f4b959ac17ac (patch) | |
tree | 3c5578e133119e4509febd267bb3452b27f772ca /modules/luci-mod-status/htdocs/luci-static/resources/view | |
parent | 824cb658409b0267ab3790178a8e85f0216cef3b (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/luci-static/resources/view')
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js | 2 |
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 1a2f70fbf..83c0c151e 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 ]; |