summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-01-08 03:20:36 -0800
committerNOYB <Al_Stu@Frontier.com>2016-01-25 17:03:36 -0800
commit77d9edf585a48c21fc16d1029224385de7f842b7 (patch)
treed7c55d298cb7aee98e881311b97c46bb67ef961c /src/etc/inc/unbound.inc
parent9a83872f226c20635feb2662d4d45df6f93de6a0 (diff)
downloadpfsense-77d9edf585a48c21fc16d1029224385de7f842b7.zip
pfsense-77d9edf585a48c21fc16d1029224385de7f842b7.tar.gz
Remove unnecessary checks. Code prevents var from being empty.
Wrap var in string with braces.
Diffstat (limited to 'src/etc/inc/unbound.inc')
-rw-r--r--src/etc/inc/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/unbound.inc b/src/etc/inc/unbound.inc
index 0dde2a8..492d5ae 100644
--- a/src/etc/inc/unbound.inc
+++ b/src/etc/inc/unbound.inc
@@ -606,7 +606,7 @@ function unbound_add_host_entries($cfgsubdir = "") {
$system_domain_local_zone_type = "transparent";
}
- $unbound_entries = "local-zone: \"{$config['system']['domain']}\" $system_domain_local_zone_type\n";
+ $unbound_entries = "local-zone: \"{$config['system']['domain']}\" {$system_domain_local_zone_type}\n";
$hosts = read_hosts();
$added_ptr = array();
OpenPOWER on IntegriCloud