aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound
diff options
context:
space:
mode:
Diffstat (limited to 'config/unbound')
-rw-r--r--config/unbound/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc
index 435a1073..7b7c053a 100644
--- a/config/unbound/unbound.inc
+++ b/config/unbound/unbound.inc
@@ -529,7 +529,7 @@ function unbound_validate($post, $acl=false) {
if($acl) {
$acls = $post;
// Check to ensure values entered is an action that is in the list
- if ($acls['aclaction'] != 'refuse' && $acls['aclaction'] != 'allow' && $acls['aclaction'] && 'allow_snoop' && $acls['aclaction'] != 'deny')
+ if ($acls['aclaction'] != 'refuse' && $acls['aclaction'] != 'allow' && $acls['aclaction'] != 'allow_snoop' && $acls['aclaction'] != 'deny')
$input_errors[] = "{$acls['aclaction']} is not a valid ACL Action. Please select one of the four actions defined in the list.";
// Make sure there is at least 1 network defined.