From b03ee4a097e01e3a77943292a779f4b959ac17ac Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 14 Nov 2019 13:47:25 +0100 Subject: [PATCH] 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 --- .../htdocs/luci-static/resources/view/status/include/40_dhcp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]; -- 2.30.2