Project

General

Profile

Feature #9590

RFE: Add additional prefix delegation size entries to dropdown-list

Added by Andreas Bleischwitz 4 months ago. Updated about 1 month ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
06/17/2019
Due date:
% Done:

100%

Estimated time:

Description

With current implementation of pfSenses "DHCPv6 Prefix Delegation size" dropdown selection it's impossible to match the DHCP's server reported prefix as it only allows a limited set of prefixes.
This will further on render the tracking interfaces to be unable to get a IPv6 address assigned.

The following patch will introduce additional selections to that prefix delegation size:

--- interfaces.php 2019-06-17 14:38:09.905894000 0200
+
+ interfaces.php-new 2019-06-17 14:41:21.146144000 0200
@ -2387,7 +2387,7 @
'dhcp6-ia-pd-len',
'DHCPv6 Prefix Delegation size',
$pconfig['dhcp6-ia-pd-len'],
- array("none" => "None", 16 => "48", 12 => "52", 8 => "56", 4 => "60", 3 => "61", 2 => "62", 1 => "63", 0 => "64")
array("none" => "None", 16 => "48", 15 => "49", 14 => "50", 13 => "51", 12 => "52", 11 => "53", 10 => "54", 9 => "55", 8 => "56", 7 => "57", 6 => "58", 5 => "59", 4 => "60", 3 => "61", 2 => "62", 1 => "63", 0 => "64")
))->setHelp('The value in this field is the delegated prefix length provided by the DHCPv6 server. Normally specified by the ISP.');

Associated revisions

Revision 51dc008b (diff)
Added by Andreas Bleischwitz 2 months ago

Add additional DHCPv6 prefix delegation size options to dropdown list on interface settings.
- implements #9590

Revision a4bcbc3e (diff)
Added by Andreas Bleischwitz about 1 month ago

Add additional DHCPv6 prefix delegation size options to dropdown list on interface settings.
- implements #9590

(cherry picked from commit 51dc008bfebef50bc4be9ff2a894e176ba013866)

History

#2 Updated by Andreas Bleischwitz 2 months ago

Jim Pingle wrote:

Can you submit that change as a pull request on Github?

https://docs.netgate.com/pfsense/en/latest/development/submitting-a-pull-request-via-github.html

Done as requested: https://github.com/pfsense/pfsense/pull/4082

#3 Updated by Jim Pingle 2 months ago

  • Target version set to 2.5.0

#4 Updated by Jim Pingle 2 months ago

Thanks!

#5 Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review

#6 Updated by Andreas Bleischwitz about 1 month ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100

Also available in: Atom PDF