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 13 days ago. Updated 13 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
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 #1

Updated by Patrik Stahlman 13 days 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.

Actions

Also available in: Atom PDF