Project

General

Profile

Actions

Bug #15418

open

Incorrect links to edit static mapping and WOL on DHCPv6 leases (status_dhcpv6_leases.php). URL parameter values missing.

Added by Patrik Stahlman 7 months ago. Updated 6 months ago.

Status:
Incomplete
Priority:
Normal
Assignee:
-
Category:
DHCP Server (IPv6)
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
24.03
Affected Architecture:
All

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

status_dhcpv6_leases.php.patch (1.95 KB) status_dhcpv6_leases.php.patch fix for issue Patrik Stahlman, 04/18/2024 05:34 PM
Actions

Also available in: Atom PDF