diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-22 20:02:59 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-22 20:02:59 -0500 |
commit | 1420c055beae5582ffa31437a8bf6cb8af4b4204 (patch) | |
tree | ee410106c061061791b3aed53fc0a09c856a3b8f | |
parent | d520c62bdee36e973455dd49f2df8116bd8251b5 (diff) | |
download | pfsense-1420c055beae5582ffa31437a8bf6cb8af4b4204.zip pfsense-1420c055beae5582ffa31437a8bf6cb8af4b4204.tar.gz |
Update fieldname, it should be hostname and not host Ticket #159
-rwxr-xr-x | usr/local/www/services_dhcp_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php index 1948e7e..ada7b47 100755 --- a/usr/local/www/services_dhcp_edit.php +++ b/usr/local/www/services_dhcp_edit.php @@ -79,7 +79,7 @@ if ($_POST) { /* normalize MAC addresses - lowercase and convert Windows-ized hyphenated MACs to colon delimited */ $_POST['mac'] = strtolower(str_replace("-", ":", $_POST['mac'])); - if (($_POST['host'] && !is_hostname($_POST['host']))) { + if (($_POST['hostname'] && !is_hostname($_POST['hostname']))) { $input_errors[] = "A valid host name must be specified."; } if (($_POST['ipaddr'] && !is_ipaddr($_POST['ipaddr']))) { |