Bug #15418
openIncorrect links to edit static mapping and WOL on DHCPv6 leases (status_dhcpv6_leases.php). URL parameter values missing.
0%
Description
On the DCHPv6 leases page (status_dhcpv6_leases.php), the links for editing the static mapping and WOL are incorrect, the URL parameters "if" and "id" are always empty.
Evidence:
Before fix the URL is wrong:
https://pfsense.local.lan/services_dhcpv6_edit.php?if=&id=
After applying fix the URL is correct:
https://pfsense.local.lan/services_dhcpv6_edit.php?if=lan&id=0
The change:
1) always fetch the interface name so it can be included in URLs
2) store the missing index of the lease in the lease list (same as it is done for IPv4)
Test:
Applied through System Patches with
Path strip Count: 4
Base Directory: /usr/local/www/
(not file upload but copy/paste)
[I noticed this bug is 24.03-RC as I just enabled DHCPv6 functionality, but it might be present in earlier releases also.]
Files