From: Nicolò Veronese Date: Tue, 21 Dec 2021 14:50:52 +0000 (+0100) Subject: luci-mod-status: show lease time on IPv6 networks X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=13dd9c423143f6ab4ed4392ae922c1449c3bbf87;p=project%2Fluci.git luci-mod-status: show lease time on IPv6 networks Signed-off-by: Nicolò Veronese --- diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js index 1a0f7037f9..0d051bdeaf 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js @@ -21,7 +21,7 @@ function renderbox(ifc, ipv6) { active = (dev && ifc.getProtocol() != 'none'), addrs = (ipv6 ? ifc.getIP6Addrs() : ifc.getIPAddrs()) || [], dnssrv = (ipv6 ? ifc.getDNS6Addrs() : ifc.getDNSAddrs()) || [], - expires = (ipv6 ? null : ifc.getExpiry()), + expires = ifc.getExpiry(), uptime = ifc.getUptime(); return E('div', { class: 'ifacebox' }, [