diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-10-19 20:46:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-10-19 20:46:05 +0000 |
commit | f15f4b4d413a073f39b3f387dbe0a667f02d9aac (patch) | |
tree | 93bbe0042e0c4dfd7d8d51962a8ce7fea3c9d4f0 /usr/local/www/services_dhcp_edit.php | |
parent | 87e629404e857d4c174459d61c885792e4c64dbf (diff) | |
download | pfsense-f15f4b4d413a073f39b3f387dbe0a667f02d9aac.zip pfsense-f15f4b4d413a073f39b3f387dbe0a667f02d9aac.tar.gz |
Relax the ip address check and allow duplicate ip address entries.
Diffstat (limited to 'usr/local/www/services_dhcp_edit.php')
-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 59d9aa7..da38457 100755 --- a/usr/local/www/services_dhcp_edit.php +++ b/usr/local/www/services_dhcp_edit.php @@ -97,7 +97,7 @@ if ($_POST) { if (isset($id) && ($a_maps[$id]) && ($a_maps[$id] === $mapent)) continue; - if ((($mapent['hostname'] == $_POST['hostname']) && $mapent['hostname']) || ($mapent['mac'] == $_POST['mac']) || ($_POST['ipaddr'])) { + if ((($mapent['hostname'] == $_POST['hostname']) && $mapent['hostname']) || ($mapent['mac'] == $_POST['mac'])) { $input_errors[] = "This Hostname, IP or MAC address already exists."; break; } |