libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 9d5b72d0dd57eb3a366566c116f4f5c0805fab9a
parent b49eb1361d97478f5ae80f6b00e781a38aaee301
Author: Matthias Wachs <wachs@in.tum.de>
Date:   Wed,  4 Sep 2013 15:23:14 +0000

set IPV6_V6ONLY correctly when MHD_USE_IPv6 but not MHD_USE_DUAL_STACK


Diffstat:
Msrc/microhttpd/daemon.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -3232,7 +3232,7 @@ MHD_start_daemon_va (unsigned int flags, daemon->socket_fd = socket_fd; if ( (0 != (flags & MHD_USE_IPv6)) && - (MHD_USE_DUAL_STACK == (flags & MHD_USE_DUAL_STACK)) ) + (MHD_USE_DUAL_STACK != (flags & MHD_USE_DUAL_STACK)) ) { #ifdef IPPROTO_IPV6 #ifdef IPV6_V6ONLY