mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
Fix limiting by IPv6 address
This commit is contained in:
1 parent
582da7168a
commit
bb8f952bef
2 files changed
+5
-2
No files matched your search
@@ -1,3 +1,6 @@
|
||||
Tue Mar 25 12:53:55 CET 2014
|
||||
Fix limiting by IPv6 address. -EG
|
||||
|
||||
Tue Mar 25 09:06:13 CET 2014
|
||||
Added more FD_SETSIZE checks.
|
||||
Implemented FD_SETSIZE checks for W32. -EG
|
||||
|
||||
@@ -184,7 +184,7 @@ struct MHD_IPCount
|
||||
* IPv4 address.
|
||||
*/
|
||||
struct in_addr ipv4;
|
||||
#if HAVE_IPV6
|
||||
#if HAVE_INET6
|
||||
/**
|
||||
* IPv6 address.
|
||||
*/
|
||||
@@ -269,7 +269,7 @@ MHD_ip_addr_to_key (const struct sockaddr *addr,
|
||||
return MHD_YES;
|
||||
}
|
||||
|
||||
#if HAVE_IPV6
|
||||
#if HAVE_INET6
|
||||
/* IPv6 addresses */
|
||||
if (sizeof (struct sockaddr_in6) == addrlen)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user