summaryrefslogtreecommitdiffstats
path: root/etc/inc/unbound.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/unbound.inc')
-rw-r--r--etc/inc/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc
index a9aaabd..dd39638 100644
--- a/etc/inc/unbound.inc
+++ b/etc/inc/unbound.inc
@@ -601,7 +601,7 @@ function unbound_acls_config() {
// Add our networks for active interfaces including localhost
if (!empty($config['unbound']['active_interface'])) {
$active_interfaces = array_flip(explode(",", $config['unbound']['active_interface']));
- if (in_array("all", $active_interfaces, true))
+ if (in_array("all", $active_interfaces))
$active_interfaces = get_configured_interface_with_descr();
} else
$active_interfaces = get_configured_interface_with_descr();
OpenPOWER on IntegriCloud