From dc073abdfdf04ccff94077d33b174c061e1f73df Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 12 May 2011 13:59:58 -0400 Subject: Also skip the rewind binding state or leases show expired. Reported at http://forum.pfsense.org/index.php/topic,36657.0.html --- usr/local/www/status_dhcp_leases.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr') diff --git a/usr/local/www/status_dhcp_leases.php b/usr/local/www/status_dhcp_leases.php index ed474de..806084b 100755 --- a/usr/local/www/status_dhcp_leases.php +++ b/usr/local/www/status_dhcp_leases.php @@ -208,6 +208,10 @@ while($i < $leases_count) { /* skip the next binding statement */ $f = $f+3; break; + case "rewind": + /* skip the next binding statement */ + $f = $f+3; + break; case "hardware": $leases[$l]['mac'] = $data[$f+2]; /* check if it's online and the lease is active */ -- cgit v1.1