summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcpv6_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-08-06 21:20:58 -0400
committerjim-p <jimp@pfsense.org>2011-08-06 21:20:58 -0400
commit8a85ab907d1c25bda9a867150fdd32025f576b4a (patch)
treee76f07784aa629bd94e5821fd376236379835cbe /usr/local/www/services_dhcpv6_edit.php
parent5b0f2653ba06668186aa445bb0f6072d0eb4de95 (diff)
downloadpfsense-8a85ab907d1c25bda9a867150fdd32025f576b4a.zip
pfsense-8a85ab907d1c25bda9a867150fdd32025f576b4a.tar.gz
Apparently RFC 1123 overrides RFC 952 and hostnames can start with digits these days.
Diffstat (limited to 'usr/local/www/services_dhcpv6_edit.php')
-rw-r--r--usr/local/www/services_dhcpv6_edit.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/www/services_dhcpv6_edit.php b/usr/local/www/services_dhcpv6_edit.php
index ef87477..61f060e 100644
--- a/usr/local/www/services_dhcpv6_edit.php
+++ b/usr/local/www/services_dhcpv6_edit.php
@@ -108,9 +108,6 @@ if ($_POST) {
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
if ($_POST['hostname']) {
- preg_match("/^[0-9]/", $_POST['hostname'], $matches);
- if($matches)
- $input_errors[] = gettext("The hostname cannot start with a numeric character according to RFC952");
preg_match("/\-\$/", $_POST['hostname'], $matches);
if($matches)
$input_errors[] = gettext("The hostname cannot end with a hyphen according to RFC952");
OpenPOWER on IntegriCloud