summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_dhcpv6_leases.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-09-21 13:41:09 -0400
committerjim-p <jimp@pfsense.org>2011-09-21 13:42:07 -0400
commitdcd81322141d7a15ed771a559aef0e1680547fc9 (patch)
tree1eb7858eaff4d189b66e96a356bd4fb5b760d243 /usr/local/www/status_dhcpv6_leases.php
parentf0be3768633a1be4f39ee35bf67e49610f6e828f (diff)
downloadpfsense-dcd81322141d7a15ed771a559aef0e1680547fc9.zip
pfsense-dcd81322141d7a15ed771a559aef0e1680547fc9.tar.gz
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.
Diffstat (limited to 'usr/local/www/status_dhcpv6_leases.php')
-rw-r--r--usr/local/www/status_dhcpv6_leases.php2
1 files changed, 2 insertions, 0 deletions
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":
OpenPOWER on IntegriCloud