diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-03-26 20:53:05 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-03-26 20:53:05 -0400 |
commit | be8048870b685259990578a81db4462c4d904325 (patch) | |
tree | db84e430eb7ccebafd9d0258c5198611f61372f0 /usr/local | |
parent | ba2cbed483207feb9ed43b2f1dbbcb3ba5b3bd30 (diff) | |
download | pfsense-be8048870b685259990578a81db4462c4d904325.zip pfsense-be8048870b685259990578a81db4462c4d904325.tar.gz |
Don't check for overrides, that's a valid config.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/services_dnsmasq_domainoverride_edit.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/usr/local/www/services_dnsmasq_domainoverride_edit.php b/usr/local/www/services_dnsmasq_domainoverride_edit.php index a23f286..0491050 100755 --- a/usr/local/www/services_dnsmasq_domainoverride_edit.php +++ b/usr/local/www/services_dnsmasq_domainoverride_edit.php @@ -71,17 +71,6 @@ if ($_POST) { $input_errors[] = "A valid IP address must be specified."; } - /* check for overlaps */ - foreach ($a_domainOverrides as $doment) { - if (isset($id) && ($a_domainOverrides[$id]) && ($a_domainOverrides[$id] === $doment)) - continue; - - if (($doment['host'] == $_POST['host']) && ($doment['domain'] == $_POST['domain'])) { - $input_errors[] = "An override already exists for this domain."; - break; - } - } - if (!$input_errors) { $doment = array(); $doment['domain'] = $_POST['domain']; |