/*
- * $Id: client_side.cc,v 1.587 2002/08/24 01:59:51 hno Exp $
+ * $Id: client_side.cc,v 1.588 2002/08/28 04:44:52 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
}
#if USE_USERAGENT_LOG
if ((str = httpHeaderGetStr(req_hdr, HDR_USER_AGENT)))
- logUserAgent(fqdnFromAddr(http->conn->peer.sin_addr), str);
+ logUserAgent(fqdnFromAddr(http->conn->log_addr.sin_addr), str);
#endif
#if USE_REFERER_LOG
if ((str = httpHeaderGetStr(req_hdr, HDR_REFERER)))
- logReferer(fqdnFromAddr(http->conn->peer.sin_addr), str,
+ logReferer(fqdnFromAddr(http->conn->log_addr.sin_addr), str,
http->log_uri);
#endif
#if FORW_VIA_DB