aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Wyatt <stuart@gogglespisano.com>2015-04-16 08:44:08 -0700
committerStuart Wyatt <stuart@gogglespisano.com>2015-04-16 08:44:08 -0700
commit99d4251080de187729ea1534d78819c5b4b5eb24 (patch)
tree0efdb24e032730580c9691187651a96b7614fc13
parentb79bb10806852ed4dccbe33e7c243bdc2ab4e23a (diff)
downloadpfsense-packages-99d4251080de187729ea1534d78819c5b4b5eb24.tar.gz
pfsense-packages-99d4251080de187729ea1534d78819c5b4b5eb24.tar.bz2
pfsense-packages-99d4251080de187729ea1534d78819c5b4b5eb24.zip
BIND - fix rate-limit option - remove {}
The rate-limit option should not have values with {} and look like this: rate-limit { responses-per-second 15; log-only yes; };
-rw-r--r--config/bind/bind.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc
index 167f0af3..c61382cb 100644
--- a/config/bind/bind.inc
+++ b/config/bind/bind.inc
@@ -179,8 +179,8 @@ EOD;
$log_only = ($bind['log_only'] == "no" ? "no" : "yes");
$bind_conf .= <<<EOD
rate-limit {
- responses-per-second { $rate_limit };
- log-only { $log_only };
+ responses-per-second $rate_limit;
+ log-only $log_only;
};
EOD;