From: hno <> Date: Fri, 15 Jun 2001 01:10:29 +0000 (+0000) Subject: Oops. ACL types dst_as, src_as and maxconn accidently got trashed by X-Git-Tag: SQUID_3_0_PRE1~1494 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc7bc1d228d6d66e5f4954c0e46f604f0729f185;p=thirdparty%2Fsquid.git Oops. ACL types dst_as, src_as and maxconn accidently got trashed by a bad commit (by me) 18.Feb.01 (rev 1.21). Thanks to Andres Kroonmaa for noticing the error. --- diff --git a/src/acl.cc b/src/acl.cc index dc7bc56576..4122933509 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,6 +1,6 @@ /* - * $Id: acl.cc,v 1.253 2001/04/06 01:49:58 hno Exp $ + * $Id: acl.cc,v 1.254 2001/06/14 19:10:29 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -42,9 +42,7 @@ static FILE *aclFile; static void aclParseDomainList(void *curlist); static void aclParseUserList(void **current); static void aclParseIpList(void *curlist); -#if UNUSED_CODE static void aclParseIntlist(void *curlist); -#endif #if SQUID_SNMP static void aclParseWordList(void *curlist); #endif @@ -303,7 +301,6 @@ aclFindByName(const char *name) return NULL; } -#if UNUSED_CODE static void aclParseIntlist(void *curlist) { @@ -318,7 +315,6 @@ aclParseIntlist(void *curlist) Tail = &q->next; } } -#endif static void aclParseIntRange(void *curlist) @@ -786,6 +782,8 @@ aclParseAclLine(acl ** head) case ACL_SRC_ASN: case ACL_MAXCONN: case ACL_DST_ASN: + aclParseIntlist(&A->data); + break; #if SRC_RTT_NOT_YET_FINISHED case ACL_NETDB_SRC_RTT: aclParseIntlist(&A->data);