summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-11-10 10:27:22 +0545
committerPhil Davis <phil.davis@inf.org>2015-11-10 10:27:22 +0545
commita569071dc2c92d30a2f90fd0cbc51f35fc20ca1c (patch)
tree4ad757ab33b379cdd14b3561aa74b900edc81989 /src/etc/inc/unbound.inc
parent932711c7ec2a6cdd19a4a71b9812b1811dae348e (diff)
downloadpfsense-a569071dc2c92d30a2f90fd0cbc51f35fc20ca1c.zip
pfsense-a569071dc2c92d30a2f90fd0cbc51f35fc20ca1c.tar.gz
Add global so that unbound.conf gets written
to the correct place based on $g setting.
Diffstat (limited to 'src/etc/inc/unbound.inc')
-rw-r--r--src/etc/inc/unbound.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/inc/unbound.inc b/src/etc/inc/unbound.inc
index 3a09ea3..b4097ad 100644
--- a/src/etc/inc/unbound.inc
+++ b/src/etc/inc/unbound.inc
@@ -119,6 +119,7 @@ function test_unbound_config($unboundcfg, &$output) {
function unbound_generate_config() {
+ global $g;
$unboundcfgtxt = unbound_generate_config_text();
OpenPOWER on IntegriCloud