summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-01-21 18:02:54 -0600
committerChris Buechler <cmb@pfsense.org>2015-01-21 18:04:14 -0600
commit7fd2a0e3a9163d8cc3f578f4bd105ed0c982737f (patch)
tree6b7639fb8f405823e22c54dd332aac6e0f6dfd86
parentf3caa5a4dbd740a5fafa67b66339d7a8c53c7a29 (diff)
downloadpfsense-7fd2a0e3a9163d8cc3f578f4bd105ed0c982737f.zip
pfsense-7fd2a0e3a9163d8cc3f578f4bd105ed0c982737f.tar.gz
Strict comparison not necessary here, and makes this fail to work as
intended. Fixes #4258
-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