From b593d6e62f9a7c31a561bb536791f58365ed19ed Mon Sep 17 00:00:00 2001 From: hno <> Date: Mon, 17 Jun 2002 01:32:01 +0000 Subject: [PATCH] Oops.. got the auth logics slightly wrong.. --- src/acl.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/acl.cc b/src/acl.cc index 0b33f1eb55..2c75499cf1 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,6 +1,6 @@ /* - * $Id: acl.cc,v 1.277 2002/06/16 17:46:25 hno Exp $ + * $Id: acl.cc,v 1.278 2002/06/16 19:32:01 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -1654,7 +1654,7 @@ aclMatchAcl(acl * ae, aclCheck_t * checklist) /* NOTREACHED */ case ACL_PROXY_AUTH: case ACL_PROXY_AUTH_REGEX: - if ((ti = aclAuthenticated(checklist)) != 0) + if ((ti = aclAuthenticated(checklist)) != 1) return ti; ti = aclMatchProxyAuth(ae->data, checklist->auth_user_request, checklist, ae->type); @@ -1662,7 +1662,7 @@ aclMatchAcl(acl * ae, aclCheck_t * checklist) return ti; /* NOTREACHED */ case ACL_MAX_USER_IP: - if ((ti = aclAuthenticated(checklist)) != 0) + if ((ti = aclAuthenticated(checklist)) != 1) return ti; ti = aclMatchUserMaxIP(ae->data, checklist->auth_user_request, checklist->src_addr); -- 2.47.3