ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/auth.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/auth.c (file contents):
Revision 4864 by michael, Fri Nov 7 19:55:40 2014 UTC vs.
Revision 4865 by michael, Fri Nov 7 20:04:02 2014 UTC

# Line 235 | Line 235 | start_auth_query(struct AuthRequest *aut
235    sendheader(auth->client, REPORT_DO_ID);
236  
237    /*
238 <   * get the local address of the client and bind to that to
239 <   * make the auth request.  This used to be done only for
240 <   * ifdef VIRTUAL_HOST, but needs to be done for all clients
241 <   * since the ident request must originate from that same address--
242 <   * and machines with multiple IP addresses are common now
238 >   * Get the local address of the client and bind to that to
239 >   * make the auth request.
240     */
241    memset(&localaddr, 0, locallen);
242    getsockname(auth->client->connection->fd.fd, (struct sockaddr*)&localaddr,

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)