apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r603435 - /apr/apr/trunk/network_io/unix/sockaddr.c
Date Wed, 12 Dec 2007 01:20:32 GMT
Author: wrowe
Date: Tue Dec 11 17:20:30 2007
New Revision: 603435

URL: http://svn.apache.org/viewvc?rev=603435&view=rev
Log:
Round out the implementation of APR_IPV6_V4MAPPED_OK.

Modified:
    apr/apr/trunk/network_io/unix/sockaddr.c

Modified: apr/apr/trunk/network_io/unix/sockaddr.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/network_io/unix/sockaddr.c?rev=603435&r1=603434&r2=603435&view=diff
==============================================================================
--- apr/apr/trunk/network_io/unix/sockaddr.c (original)
+++ apr/apr/trunk/network_io/unix/sockaddr.c Tue Dec 11 17:20:30 2007
@@ -345,7 +345,7 @@
 #endif /* OSF1 */
     }
 #if APR_HAVE_IPV6 && defined(AI_V4MAPPED)
-    if (flags & APR_IPV4_ADDR_OK && family == APR_INET6) {
+    if (flags & APR_IPV6_V4MAPPED_OK && family == APR_INET6) {
         hints.ai_flags |= AI_V4MAPPED;
     }
 #endif



Mime
View raw message