}
if ((rv = apr_sockaddr_info_get(&destsa, conn->remote_ip,
- localsa->sa.sin.sin_family, /* has to match */
+ localsa->family, /* has to match */
RFC1413_PORT, 0, conn->pool)) != APR_SUCCESS) {
/* This should not fail since we have a numeric address string
* as the host. */
}
if ((rv = apr_socket_create(newsock,
- localsa->sa.sin.sin_family, /* has to match */
+ localsa->family, /* has to match */
SOCK_STREAM, conn->pool)) != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_CRIT, rv, srv,
"rfc1413: error creating query socket");