diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2003-02-16 10:10:20 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2003-02-16 10:10:20 +0000 |
commit | 64d635923b72eb0f6e3dc4762671d71a70409cf1 (patch) | |
tree | e8216caadbd84d2bb4847da2115ea3ef4e922309 /network_io | |
parent | 2c570379b6cbb1458f4db720c47fa6e146053fb4 (diff) | |
download | libapr-64d635923b72eb0f6e3dc4762671d71a70409cf1.tar.gz |
Just an interesting observation to Win32 IPV6 hackers.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io')
-rw-r--r-- | network_io/unix/sockaddr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/network_io/unix/sockaddr.c b/network_io/unix/sockaddr.c index 5ec4ae4f2..ef0ec1010 100644 --- a/network_io/unix/sockaddr.c +++ b/network_io/unix/sockaddr.c @@ -928,6 +928,9 @@ APR_DECLARE(apr_status_t) apr_ipsubnet_create(apr_ipsubnet_t **ipsub, const char 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])) { |