From 13dd9c423143f6ab4ed4392ae922c1449c3bbf87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicol=C3=B2=20Veronese?= Date: Tue, 21 Dec 2021 15:50:52 +0100 Subject: [PATCH] luci-mod-status: show lease time on IPv6 networks MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolò Veronese --- .../luci-static/resources/view/status/include/30_network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }, [ -- 2.30.2