Changes with Apache 2.0.27-dev
+ *) Fix some bungling of the remote port in rfc1413.c so that
+ IdentityCheck retrieves the proper user id instead of failing
+ and thus always returning "nobody."
+ [Dick Streefland <Dick.Streefland@xs4all.nl>]
+
*) Introduced thread saftey for mod_rewrite's internal cache.
[Brian Pane <bpane@pacbell.net>]
char buffer[RFC1413_MAXDATA + 1];
char user[RFC1413_USERLEN + 1]; /* XXX */
apr_size_t buflen;
- apr_sockaddr_t *localsa;
- apr_socket_addr_get(&localsa, APR_LOCAL, sock);
- apr_sockaddr_port_get(&sav_our_port, localsa);
- sav_rmt_port = RFC1413_PORT;
+ apr_sockaddr_port_get(&sav_our_port, conn->local_addr);
+ apr_sockaddr_port_get(&sav_rmt_port, conn->remote_addr);
/* send the data */
buflen = apr_snprintf(buffer, sizeof(buffer), "%hu,%hu\r\n", sav_rmt_port,