diff options
author | Oskar Johansson <onkelborg@onkelborg.com> | 2014-05-16 16:20:23 +0200 |
---|---|---|
committer | Oskar Johansson <onkelborg@onkelborg.com> | 2014-05-16 16:20:23 +0200 |
commit | 6f24483e980dc0dee55edd461560a960899e0266 (patch) | |
tree | 843f763095c7b60afd22542c0efda10f1ac8031f /config | |
parent | 1a20fc6d045ab53152605bbc34f1df2f64815e78 (diff) | |
download | pfsense-packages-6f24483e980dc0dee55edd461560a960899e0266.tar.gz pfsense-packages-6f24483e980dc0dee55edd461560a960899e0266.tar.bz2 pfsense-packages-6f24483e980dc0dee55edd461560a960899e0266.zip |
Bugfix: Slave zones honour allow transfer
Fix bug where slave zones didn't honour the allow-transfer setting and wrote "none" in the config at all times
Diffstat (limited to 'config')
-rw-r--r-- | config/bind/bind.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc index 9b4a444d..4f6e0d87 100644 --- a/config/bind/bind.inc +++ b/config/bind/bind.inc @@ -347,7 +347,7 @@ EOD; switch ($zonetype){ case "slave": $bind_conf .= "\t\tmasters { $zoneipslave; };\n"; - $bind_conf .= "\t\tallow-transfer {none;};\n"; + $bind_conf .= "\t\tallow-transfer { $zoneallowtransfer;};\n"; $bind_conf .= "\t\tnotify no;\n"; break; case "forward": |