summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_dhcp_leases.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-05-12 13:59:58 -0400
committerjim-p <jimp@pfsense.org>2011-05-12 13:59:58 -0400
commitdc073abdfdf04ccff94077d33b174c061e1f73df (patch)
treed24c48d7809124df28026dc8d2c62ae7570b604e /usr/local/www/status_dhcp_leases.php
parent2b094d211cb911d26d2ba279ba0fb2613f787a27 (diff)
downloadpfsense-dc073abdfdf04ccff94077d33b174c061e1f73df.zip
pfsense-dc073abdfdf04ccff94077d33b174c061e1f73df.tar.gz
Also skip the rewind binding state or leases show expired. Reported at http://forum.pfsense.org/index.php/topic,36657.0.html
Diffstat (limited to 'usr/local/www/status_dhcp_leases.php')
-rwxr-xr-xusr/local/www/status_dhcp_leases.php4
1 files changed, 4 insertions, 0 deletions
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 */
OpenPOWER on IntegriCloud