diff options
author | Phil Davis <phil.davis@inf.org> | 2016-11-15 17:30:37 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 17:30:37 +0545 |
commit | ff3d11c85450284d8949234f90af7a6c6681199e (patch) | |
tree | f531649d933b74d143b9748ccd766b27a97f6370 /src/usr/local/www/services_dhcpv6.php | |
parent | f9dcc11414d1f9cc17cc566740751039a36adbd2 (diff) | |
download | pfsense-ff3d11c85450284d8949234f90af7a6c6681199e.zip pfsense-ff3d11c85450284d8949234f90af7a6c6681199e.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.
Diffstat (limited to 'src/usr/local/www/services_dhcpv6.php')
-rw-r--r-- | src/usr/local/www/services_dhcpv6.php | 5 |
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 58cb06a..cfc22de 100644 --- a/src/usr/local/www/services_dhcpv6.php +++ b/src/usr/local/www/services_dhcpv6.php @@ -754,8 +754,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', |