summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-31 12:29:48 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-31 12:29:48 -0400
commit4c8a86531b1fcfc30fd359cff55954f6b9354e8a (patch)
treef33a07ec18a28f3d9297d15189dfd69dbe2ff752 /usr/local/www/services_dhcp_edit.php
parent2d994672139545ec25705bbeaf08d7974d32dafd (diff)
downloadpfsense-4c8a86531b1fcfc30fd359cff55954f6b9354e8a.zip
pfsense-4c8a86531b1fcfc30fd359cff55954f6b9354e8a.tar.gz
Forced commit to note that should have read RFC952
Diffstat (limited to 'usr/local/www/services_dhcp_edit.php')
-rwxr-xr-xusr/local/www/services_dhcp_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index 60732bf..40a9d58 100755
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -113,10 +113,10 @@ if ($_POST) {
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 RFC1123");
+ $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 RFC1123");
+ $input_errors[] = gettext("The hostname cannot end with a hyphen according to RFC952");
if (!is_hostname($_POST['hostname'])) {
$input_errors[] = gettext("The hostname can only contain the characters A-Z, 0-9 and '-'.");
} else {
OpenPOWER on IntegriCloud