aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2011-01-16 21:22:58 +0200
committerWarren Baker <warren@decoy.co.za>2011-01-16 21:22:58 +0200
commitef88267ee4d6f763648416ac237cc38c18bd3bd2 (patch)
tree1ebfa6cd20065087b07fa549c5e15eda1f4a1d79 /config
parentc4b8dfa612ec4d5e955168647375d7b7a1d642e3 (diff)
downloadpfsense-packages-ef88267ee4d6f763648416ac237cc38c18bd3bd2.tar.gz
pfsense-packages-ef88267ee4d6f763648416ac237cc38c18bd3bd2.tar.bz2
pfsense-packages-ef88267ee4d6f763648416ac237cc38c18bd3bd2.zip
Syntax error for allow_snoop validation.
Diffstat (limited to 'config')
-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.