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:02 -0600
commit7684d66fad740820ca1c945a5b67a6f813306235 (patch)
treeed621152b1153586bb0d0c83ce95c7acf80f90ba
parent005fd63af31b93bd2ac22e592c3447dde5e06c0c (diff)
downloadpfsense-7684d66fad740820ca1c945a5b67a6f813306235.zip
pfsense-7684d66fad740820ca1c945a5b67a6f813306235.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