Hi Stefan (Priebe), Is IPv6 (really) involved in your network?
Could you please show up the gdb output of the below ? On Fri, Feb 24, 2017 at 2:07 PM, Yann Ylavic <ylavic....@gmail.com> wrote: > > 1078 APR_DECLARE(int) apr_ipsubnet_test(apr_ipsubnet_t *ipsub, > apr_sockaddr_t *sa) > 1079 { > 1080 #if APR_HAVE_IPV6 > 1081 /* XXX This line will segv on Win32 build with APR_HAVE_IPV6, > 1082 * but without the IPV6 drivers installed. > 1083 */ > 1084 if (sa->family == AF_INET) { > 1085 if (ipsub->family == AF_INET && > 1086 ((sa->sa.sin.sin_addr.s_addr & ipsub->mask[0]) == > ipsub->sub[0])) { > 1087 return 1; > 1088 } > 1089 } > 1090 else if (IN6_IS_ADDR_V4MAPPED((struct in6_addr *)sa->ipaddr_ptr)) { > 1091 if (ipsub->family == AF_INET && > 1092 (((apr_uint32_t *)sa->ipaddr_ptr)[3] & > ipsub->mask[0]) == ipsub->sub[0]) { > 1093 return 1; > 1094 } > 1095 } (gdb) p *ipsub (gdb) p *sa (gdb) p *(struct in6_addr *)sa and possibly more to come... Thanks, Yann.