<%:Active DHCP Leases%>
<%:Hostname%>
<%:IPv4-Address%>
<%:MAC-Address%>
<%:Leasetime remaining%>
<%
local fs = require "nixio.fs"
local has_ipv6 = fs.access("/proc/net/ipv6_route")
if has_ipv6 then
-%>
<%:Active DHCPv6 Leases%>
<%:Host%>
<%:IPv6-Address%>
<%:DUID%>
<%:Leasetime remaining%>
<% end -%>