diff options
author | Nicolò Veronese <nicveronese@gmail.com> | 2021-12-21 15:50:52 +0100 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-05-14 20:06:18 +0200 |
commit | 13dd9c423143f6ab4ed4392ae922c1449c3bbf87 (patch) | |
tree | 6e886df4f4fa778a63fbe0a41c579caf6c732a95 /modules/luci-mod-status/htdocs/luci-static/resources/view/status | |
parent | 2bb1e06b52ea97926317e4f01ef24afb2cc115fb (diff) |
luci-mod-status: show lease time on IPv6 networks
Signed-off-by: Nicolò Veronese <nicveronese@gmail.com>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view/status')
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js | 2 |
1 files changed, 1 insertions, 1 deletions
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' }, [ |