Skip to content

Commit

Permalink
Merge pull request #2897 from phil-davis/patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Buechler committed Apr 22, 2016
2 parents 1047232 + 102446a commit bbc32e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usr/local/www/services_unbound_advanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
if (isset($_POST['infra_host_ttl']) && !in_array($_POST['infra_host_ttl'], array('60', '120', '300', '600', '900'), true)) {
$input_errors[] = gettext("A valid value must be specified for TTL for Host Cache Entries.");
}
if (isset($_POST['infra_cache_numhosts']) && !in_array($_POST['infra_cache_numhosts'], array('1000', '5000', '10000', '20000', '50000'), true)) {
if (isset($_POST['infra_cache_numhosts']) && !in_array($_POST['infra_cache_numhosts'], array('1000', '5000', '10000', '20000', '50000', '100000'), true)) {
$input_errors[] = gettext("A valid value must be specified for Number of Hosts to Cache.");
}
if (isset($_POST['unwanted_reply_threshold']) && !in_array($_POST['unwanted_reply_threshold'], array('disabled', '5000000', '10000000', '20000000', '40000000', '50000000'), true)) {
Expand Down Expand Up @@ -352,7 +352,7 @@
'infra_cache_numhosts',
'Number of Hosts to Cache',
$pconfig['infra_cache_numhosts'],
array_combine(array("1000", "5000", "10000", "20000", "50000"), array("1000", "5000", "10000", "20000", "50000"))
array_combine(array("1000", "5000", "10000", "20000", "50000", "100000"), array("1000", "5000", "10000", "20000", "50000", "100000"))
))->setHelp('Number of infrastructure hosts for which information is cached. The default is 10,000.');

$mln = gettext("million");
Expand Down

0 comments on commit bbc32e3

Please sign in to comment.