From 44cf13822d3a7a90d956e8ce2ed22eb3cf0e2b1c Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Sat, 29 Mar 2014 12:23:39 +0200 Subject: [PATCH] Make sure interface selection works --- usr/local/www/services_unbound.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php index bcc2a3c53d..0f6b9ebde0 100644 --- a/usr/local/www/services_unbound.php +++ b/usr/local/www/services_unbound.php @@ -43,8 +43,8 @@ require_once("unbound.inc"); $pconfig['enable'] = isset($config['unbound']['enable']); $pconfig['port'] = $config['unbound']['port']; -$pconfig['active_interface'] = $config['unbound']['active_interface']; -$pconfig['outgoing_interface'] = $config['unbound']['outgoing_interface']; +$pconfig['active_interface'] = explode(",", $config['unbound']['active_interface']); +$pconfig['outgoing_interface'] = explode(",", $config['unbound']['outgoing_interface']); $pconfig['dnssec'] = isset($config['unbound']['dnssec']); $pconfig['forwarding'] = isset($config['unbound']['forwarding']); $pconfig['regdhcp'] = isset($config['unbound']['regdhcp']); @@ -186,10 +186,11 @@ function show_advanced_dns() {

- - >All +