From: Jo-Philipp Wich Date: Thu, 14 Nov 2019 12:47:25 +0000 (+0100) Subject: luci-mod-status: display secondary lease IPv6 addresses if available X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b03ee4a097e01e3a77943292a779f4b959ac17ac;p=project%2Fluci.git 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 --- 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 ];