mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make sure 'DHCPv6 Prefix Delegation size' is provided if 'Send IPv6 prefix hint' flag is checked to avoid generating invalid dhcp6c configuration file.
This commit is contained in:
parent
4e34cdf3bf
commit
0f7f6aa91f
@ -576,6 +576,9 @@ if ($_POST['apply']) {
|
||||
case "dhcp6":
|
||||
if (in_array($wancfg['ipaddrv6'], array()))
|
||||
$input_errors[] = sprintf(gettext("You have to reassign the interface to be able to configure as %s."),$_POST['type6']);
|
||||
if ($_POST['dhcp6-ia-pd-send-hint'] && strtolower($_POST['dhcp6-ia-pd-len']) == 'none') {
|
||||
$input_errors[] = gettext('DHCPv6 Prefix Delegation size must be provided when Send IPv6 prefix hint flag is checked');
|
||||
}
|
||||
break;
|
||||
case "6rd":
|
||||
foreach ($ifdescrs as $ifent => $ifdescr) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user