[SOLVED] services_dhcp.php only show last fixed lease
-
Hello,
In pfsense 2.1 beta 1 build 20130514-0000 I noticed that fixed lease where added to /etc/hosts and that they were perfectly resolved.Then I noticed a weird behavior.
When I add a fixed lease to using services_dhcp.php -> services_dhcp_edit.php I only have in the table bellow the last fixed lease submitted by the form in services_dhcp_edit.php.Ofcourse I checked /etc/hosts and same behavior only the last fixed lease entred is written.
I use pfsense 2.1 because I have a NIC not working in 2.0.3.
-
found the problem ! it shows when you setup MULTIPLE DHCP pool in a same interface configuration.
I disabled the multipool and added a new fixed lease and I got the fixed lease list shown perfectly.
I put this to solved but then there is still a problem there!
-
Should be fixed by this:
https://github.com/pfsense/pfsense/commit/37c922a6faff0e55db04fb66e43b76180e1c1449