mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix error in 2.1 branch dhcp6prefixonly implementation
The Main branch code was in the correct place, but the version applied to 2.1 branch had this code in the wrong place.
This commit is contained in:
parent
a7b495403c
commit
af49447af3
@ -876,8 +876,6 @@ if ($_POST['apply']) {
|
||||
if ($_POST['gatewayv6'] != "none") {
|
||||
$wancfg['gatewayv6'] = $_POST['gatewayv6'];
|
||||
}
|
||||
if($_POST['dhcp6prefixonly'] == "yes")
|
||||
$wancfg['dhcp6prefixonly'] = true;
|
||||
break;
|
||||
case "slaac":
|
||||
$wancfg['ipaddrv6'] = "slaac";
|
||||
@ -886,6 +884,8 @@ if ($_POST['apply']) {
|
||||
$wancfg['ipaddrv6'] = "dhcp6";
|
||||
$wancfg['dhcp6-duid'] = $_POST['dhcp6-duid'];
|
||||
$wancfg['dhcp6-ia-pd-len'] = $_POST['dhcp6-ia-pd-len'];
|
||||
if($_POST['dhcp6prefixonly'] == "yes")
|
||||
$wancfg['dhcp6prefixonly'] = true;
|
||||
if($gateway_item) {
|
||||
$a_gateways[] = $gateway_item;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user