mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
interfaces: allow all IPv6 prefixes from 48 to 64
PR: https://forum.opnsense.org/index.php?topic=7650.0
This commit is contained in:
parent
aedfc6b887
commit
77bcfefd97
@ -2492,7 +2492,26 @@ include("head.inc");
|
||||
<td>
|
||||
<select name="dhcp6-ia-pd-len" class="selectpicker" data-style="btn-default" id="dhcp6-ia-pd-len">
|
||||
<?php
|
||||
foreach(array("none" => "None", 16 => "48", 12 => "52", 8 => "56", 4 => "60", 2 => "62", 1 => "63", 0 => "64") as $bits => $length):?>
|
||||
foreach(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',
|
||||
) as $bits => $length): ?>
|
||||
<option value="<?=$bits;?>" <?=$bits == $pconfig['dhcp6-ia-pd-len'] ? "selected=\"selected\"" : "";?>>
|
||||
<?=$length;?>
|
||||
</option>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user