commit 326441639c0b3eb3c84d1b3368e1e12b4aba75e7 parent ccdf83cd04e734fafa2beed207cb523af8783961 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 14 Jul 2013 17:51:18 +0000 fix dual stack option Diffstat:
| M | src/microhttpd/daemon.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -3019,7 +3019,7 @@ MHD_start_daemon_va (unsigned int flags, daemon->socket_fd = socket_fd; if ( (0 != (flags & MHD_USE_IPv6)) && - (0 == (flags & MHD_USE_DUAL_STACK)) ) + (MHD_USE_DUAL_STACK == (flags & MHD_USE_DUAL_STACK)) ) { #ifdef IPPROTO_IPV6 #ifdef IPV6_V6ONLY