summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_dhcp_leases.php
Commit message (Collapse)AuthorAgeFilesLines
* remove pointless filter on dhcp static mappings tableWill Boyce2015-05-301-1/+1
|
* Add static mapping interface not set when IP in a poolPhil Davis2015-04-271-0/+11
| | | | | | If the DHCP IP address is in a pool (not in the main DHCP range for the interface) then the interface that corresponds to the IP address is not found. This results in the link to "add static mapping for this MAC address" not having any value for "if=" and thus clicking on the "+" button does not work. Reported in bug 4649 Process any pools when checking for which interface contains the IP address.
* Status DHCP Leases handle expire neverPhil Davis2015-03-261-6/+16
| | | | | | | | | | | | | | Note: We can let the code pass "never" (or any other unexpected stuff) to adjust_gmt() adjust_gmt() should anyway handle the case when strtotime() cannot understand the input string and thus returns false. In that case we return the input string as-is so it will be displayed as the time. That way the user will see it and can report easily whatever other unexpected char data was in the leases file. It also prevents "false" (zero) being converted to the date-time string and thus becoming the Unix epoch 1 Jan 1970 on the display. Latest forum report of this kind of thing: https://forum.pfsense.org/index.php?topic=90083.0
* Status_dhcp_leases fix edit button for static entries with no IP addressPhil Davis2015-02-231-18/+6
| | | | | | The edit button for static entries always has an index id=0 and thus pressing the edit button goes to (mostly) edit the wrong entry. It was easier and made the code cleaner to get rid of the looping through the staticmap array every time trying to matach IP, MAC address... That data ('if' and 'staticmap_array_index') is easily gathered further up, the first time the staticmap array for each DHCP interface is traversed. I think this should also be more efficient when there are many static mapping entries. Forum: https://forum.pfsense.org/index.php?topic=89072.msg493241#msg493241
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* modify copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Provide an edit button for static mapped entriesPhil Davis2014-10-151-2/+5
| | | | As suggested in forum https://forum.pfsense.org/index.php?topic=82883.msg0#new Instead of a non-functioning red plus icon, show an edit icon for static mapped entries, and take the user to services_dhcp_edit page if it is clicked. IMHO this makes it much easier to correct things that are noticed when viewing the Status, DHCP Leases display.
* Whitespace in status_dhcp_leases.phpPhil Davis2014-10-151-39/+39
|
* SpellingPhil Davis2014-09-271-1/+1
|
* Tidy up "status_dhcp_leases.php" XHTMLColin Fleming2014-05-161-38/+38
| | | | | | | Add SUMMARY to TABLES Updates spaces in $fspans and $fspane Close INPUT and IMG tags and ALT to IMG Deprecate Ampersand in Anchor tags
* xhtml Complianceayvis2014-03-141-2/+2
| | | replaced <br>, <br/> and </br> with <br />
* Fix DHCP lease time display, strftime already convert it to local timezone, ↵Renato Botelho2013-12-231-11/+5
| | | | so we no need to calc offset
* Optimize DHCPv4 lease display online status for static leases. Do not ↵jim-p2013-10-221-12/+6
| | | | re-parse complete ARP table for each lease, as it can be slow with large ARP tables.
* Add the interface's descr after the pool name.jim-p2013-07-021-1/+2
|
* Value in attributes should be lower caseColin Fleming2013-02-071-1/+1
| | | | Value in the "method" attribute should be lower case
* Fix deleting DHCP leasesPhil Davis2012-09-181-2/+3
| | | | | This broke when the code was changed to suck the whole leases file into an array with: $leases_contents = file($leasesfile); Each array entry has the text of a line in the file AND the newline at the end of the line. So when matching array entries, the match has to expect the "\n" on the end.
* Activate new shortcuts/status in the rest of the areas that are currently setup.jim-p2012-08-101-0/+1
|
* If the range isn't an array, skip it, or it will give a PHP error displaying ↵jim-p2012-07-071-1/+3
| | | | leases.
* Improve the memory use while processing the leases file.smos2012-03-221-4/+8
|
* need to break out of foreach loop once it finds there is a local time has ↵Joecowboy2012-02-251-1/+4
| | | | been selected by any interface of DHCP.
* I now parses the xml tags in the dhcpd to check if an interface for DHCP ↵Joecowboy2012-02-251-6/+7
| | | | lease is using local time if not defaults to UTC time.
* Added choice of UTC time or local time for DHCP leases.Joecowboy2012-02-251-2/+15
|
* Fixup MAC display on this other path toojim-p2011-05-161-1/+1
|
* Print the MAC mfg on another line in a smaller font if it's found. Less ↵jim-p2011-05-161-1/+1
| | | | obtrusive than completely replacing the MAC.
* MAC prefix to vendor resolution at Status->Interfaces, Status->DHCP leases, ↵Evgeny2011-05-141-3/+15
| | | | Diagnostics->ARP table
* Fix commentjim-p2011-05-121-1/+1
|
* Also skip the rewind binding state or leases show expired. Reported at ↵jim-p2011-05-121-0/+4
| | | | http://forum.pfsense.org/index.php/topic,36657.0.html
* Display confirmation before sending Wake on LAN packet to clicked MAC ↵Erik Fonnesbeck2010-12-221-1/+1
| | | | address in list of DHCP leases. Ticket #861
* Bring in XSS id fixes from m0n0wallScott Ullrich2010-11-121-1/+1
|
* Fix misc XSS issues from davey bScott Ullrich2010-11-101-1/+1
|
* Implement gettext() calls on status_dhcp_leases.phpCarlos Eduardo Ramos2010-07-211-20/+20
|
* Make DHCP leases sortable. Fixes #653jim-p2010-06-141-1/+1
|
* this page is status, not diag.Chris Buechler2010-06-141-0/+411
OpenPOWER on IntegriCloud