summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcpv6.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-11-15 17:30:37 +0545
committerRenato Botelho <renato@netgate.com>2016-11-25 15:01:01 -0200
commitf968d06d01697223aafd78d31bd176b77c99c217 (patch)
tree3fb594a85511fed02a3afef279282a84f6487ab3 /src/usr/local/www/services_dhcpv6.php
parent19509df312b4154f3220eb84fde78eb46ffbef3a (diff)
downloadpfsense-f968d06d01697223aafd78d31bd176b77c99c217.zip
pfsense-f968d06d01697223aafd78d31bd176b77c99c217.tar.gz
DHCPv6 ddnsdomainprimary must currently be IPv4
This field is currently validated to allow only an IPv4 address to be entered, so it may as well be consistent client-side so the user knows that only an IPv4 address is allowed. (cherry picked from commit ff3d11c85450284d8949234f90af7a6c6681199e)
Diffstat (limited to 'src/usr/local/www/services_dhcpv6.php')
-rw-r--r--src/usr/local/www/services_dhcpv6.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dhcpv6.php b/src/usr/local/www/services_dhcpv6.php
index b9c6f4c..5c92061 100644
--- a/src/usr/local/www/services_dhcpv6.php
+++ b/src/usr/local/www/services_dhcpv6.php
@@ -786,8 +786,9 @@ $section->addInput(new Form_Input(
$section->addInput(new Form_IpAddress(
'ddnsdomainprimary',
'DDNS Server IP',
- $pconfig['ddnsdomainprimary']
-))->setHelp('Enter the primary domain name server IP address for the dynamic domain name.');
+ $pconfig['ddnsdomainprimary'],
+ 'V4'
+))->setHelp('Enter the primary domain name server IPv4 address for the dynamic domain name.');
$section->addInput(new Form_Input(
'ddnsdomainkeyname',
OpenPOWER on IntegriCloud