Also skip the rewind binding state or leases show expired. Reported at http://forum.pfsense.org/index.php/topic,36657.0.html

This commit is contained in:
jim-p 2011-05-12 13:59:58 -04:00
parent 2b094d211c
commit dc073abdfd

View File

@ -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 */