httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Rudd <ed...@omegaware.com>
Subject Re: why are ipv4 address being mapped as ipv6?
Date Sat, 19 Mar 2005 05:26:12 GMT
On Fri, 18 Mar 2005 09:24:16 +0000, Colm MacCarthaigh wrote:


> A block like:
> 
> #if APR_HAVE_IPV6
>     if (sockaddr->family == AF_INET6 &&
>         IN6_IS_ADDR_V4MAPPED((struct in6_addr *)sockaddr->ipaddr_ptr)) {
> 		/* Address is IPv4-mapped-IPv6 */
>     }
> #endif	    
> 

Thanks, that worked perfectly.





Mime
View raw message