apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/network_io/unix sockaddr.c
Date Sun, 16 Feb 2003 10:10:20 GMT
wrowe       2003/02/16 02:10:20

  Modified:    network_io/unix sockaddr.c
  Log:
    Just an interesting observation to Win32 IPV6 hackers.
  
  Revision  Changes    Path
  1.37      +3 -0      apr/network_io/unix/sockaddr.c
  
  Index: sockaddr.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sockaddr.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- sockaddr.c	10 Jan 2003 15:09:00 -0000	1.36
  +++ sockaddr.c	16 Feb 2003 10:10:20 -0000	1.37
  @@ -928,6 +928,9 @@
   APR_DECLARE(int) apr_ipsubnet_test(apr_ipsubnet_t *ipsub, apr_sockaddr_t *sa)
   {
   #if APR_HAVE_IPV6
  +    /* XXX This line will segv on Win32 build with APR_HAVE_IPV6,
  +     * but without the IPV6 drivers installed.
  +     */
       if (sa->sa.sin.sin_family == AF_INET) {
           if (ipsub->family == AF_INET &&
               ((sa->sa.sin.sin_addr.s_addr & ipsub->mask[0]) == ipsub->sub[0]))
{
  
  
  

Mime
View raw message