From dcd81322141d7a15ed771a559aef0e1680547fc9 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 21 Sep 2011 13:41:09 -0400 Subject: For DHCPv6 the CLTT (client last transaction time) is used instead of the "start" time for the lease. Should now more accurately display when a lease started. --- usr/local/www/status_dhcpv6_leases.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr') diff --git a/usr/local/www/status_dhcpv6_leases.php b/usr/local/www/status_dhcpv6_leases.php index d04dc67..5208f73 100644 --- a/usr/local/www/status_dhcpv6_leases.php +++ b/usr/local/www/status_dhcpv6_leases.php @@ -236,6 +236,8 @@ while($i < $leases_count) { $f = $f+3; break; case "cltt": + $leases[$l]['start'] = $data[$f+2]; + $leases[$l]['start'] .= " " . $data[$f+3]; $f = $f+3; break; case "binding": -- cgit v1.1