apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49678] getRemoteAddr() returns IPv6 address on RedHat 9 when IPv6 is disabled
Date Tue, 10 Aug 2010 13:47:10 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49678

--- Comment #11 from Joe Orton <jorton@redhat.com> 2010-08-10 09:47:07 EDT ---
Thanks.  You should use:

        apr_socket_addr_get(&sa, APR_REMOTE, acceptedSocket);

        apr_sockaddr_ip_getbuf(remoteAddrStr, 99, sa);

rather than attempting to dereference the socket object, BTW.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message