]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
From: "Russell Street" <r.street@auckland.ac.nz>
authorwessels <>
Thu, 9 Jan 1997 00:04:23 +0000 (00:04 +0000)
committerwessels <>
Thu, 9 Jan 1997 00:04:23 +0000 (00:04 +0000)
 - the identd request has to come *from* the same IP address as the original
   connection was made to.

src/ident.cc

index 6421db2dc2ffddaf64f67014157ee3d1e8e134dd..38ded19b5d69a42f31fc9789abdbfc64bf2f0502 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ident.cc,v 1.23 1996/11/14 19:02:19 wessels Exp $
+ * $Id: ident.cc,v 1.24 1997/01/08 17:04:23 wessels Exp $
  *
  * DEBUG: section 30    Ident (RFC 931)
  * AUTHOR: Duane Wessels
@@ -53,7 +53,7 @@ identStart(int fd, icpStateData * icpState, void (*callback) _PARAMS((void *)))
     if (fd < 0) {
        fd = comm_open(SOCK_STREAM,
            0,
-           Config.Addrs.tcp_outgoing,
+           icpState->me.sin_addr,
            0,
            COMM_NONBLOCKING,
            "ident");