diff options
Diffstat (limited to 'config/unbound')
-rw-r--r-- | config/unbound/unbound.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc index d8520390..f38aebb1 100644 --- a/config/unbound/unbound.inc +++ b/config/unbound/unbound.inc @@ -572,11 +572,10 @@ EOD; # Handle custom options if (!empty($adv_config['custom_options'])) { - $custom_options = explode(";", ($unbound_config['custom_options'])); + $custom_options = explode(";", ($adv_config['custom_options'])); $unbound_conf .= "\n# Unbound Custom options\n"; - foreach ($custom_options as $ent) { + foreach ($custom_options as $ent) $unbound_conf .= $ent."\n"; - } } $unbound_conf .= <<<EOD |