mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
services_dhcpv6.php, fix typo in validation message , ref https://github.com/opnsense/core/issues/3546
This commit is contained in:
parent
ebcd30c971
commit
c5c6bb1601
@ -154,7 +154,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$input_errors[] = gettext("A valid domain name must be specified for the dynamic DNS registration.");
|
||||
}
|
||||
if (!empty($pconfig['ddnsdomain']) && !is_ipaddrv4($pconfig['ddnsdomainprimary'])) {
|
||||
$input_errors[] = gettext("A valid primary domain name server IPv4 address must be specified for the dynamic domain name.");
|
||||
$input_errors[] = gettext("A valid primary domain name server IPv6 address must be specified for the dynamic domain name.");
|
||||
}
|
||||
if (!empty($pconfig['ddnsdomainkey']) && base64_encode(base64_decode($pconfig['ddnsdomainkey'], true)) !== $pconfig['ddnsdomainkey']) {
|
||||
$input_errors[] = gettext('You must specify a Base64-encoded domain key.');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user