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
Updated by Patrik Stahlman 7 months ago
And just to clarify, the broken action links appear for a DHCPv6 lease with static mapping, the action links for a dynamic lease work fine.
Updated by Kris Phillips 7 months ago
Tested this with DHCPv6 upstream with a delegated prefix. I wasn't able to reproduce this on 24.03.
When adding a static mapping and then going to Status --> DHCPv6 Leases to click the "edit" button for the static mapping, it appears to be normal:
https://X.X.X.X:4433/services_dhcpv6_edit.php?if=opt1&id=0
To reproduce this, did you add both a WOL and Static Mapping at the same time?
Updated by Danilo Zrenjanin 7 months ago
I couldn't replicate this either:
I can see the correct URL parameters "if" and "id."
https://x.x.x.x:8443/services_dhcpv6_edit.php?if=opt5&id=0
Tested against 24.03 pfSense Plus release
Updated by Kris Phillips 6 months ago
This should be marked as Incomplete until more information can be provided on how this is reproduced. I don't see a bug here with our current understanding.
Updated by Jim Pingle 6 months ago
- Category changed from Web Interface to DHCP Server (IPv6)
- Status changed from New to Incomplete