]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
The recent patch for Bugzilla #172 doesn't compile on HEAD, so I've
authorwessels <>
Wed, 27 Jun 2001 03:02:05 +0000 (03:02 +0000)
committerwessels <>
Wed, 27 Jun 2001 03:02:05 +0000 (03:02 +0000)
disabled it.  Looks like we can't access the RFC931 string in
peerAllowedToUse() until we make some changes to data structures.

src/neighbors.cc

index 6c55467fb5931f172f1f8aa82cc6ab547ea1a0bf..d31371c3ade684290564777633ec190fb5dd338c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: neighbors.cc,v 1.296 2001/06/26 17:17:53 wessels Exp $
+ * $Id: neighbors.cc,v 1.297 2001/06/26 21:02:05 wessels Exp $
  *
  * DEBUG: section 15    Neighbor Routines
  * AUTHOR: Harvest Derived
@@ -151,9 +151,14 @@ peerAllowedToUse(const peer * p, request_t * request)
     checklist.my_addr = request->my_addr;
     checklist.my_port = request->my_port;
     checklist.request = request;
-#if USE_IDENT
+#if 0 && USE_IDENT
+    /*
+     * this is currently broken because 'request->user_ident' has been
+     * moved to conn->rfc931 and we don't have access to the parent
+     * ConnStateData here.
+     */
     if (request->user_ident[0])
-       xstrncpy(checklist.ident, request->user_ident, USER_IDENT_SZ);
+       xstrncpy(checklist.rfc931, request->user_ident, USER_IDENT_SZ);
 #endif
     return aclCheckFast(p->access, &checklist);
 }