diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-14 17:51:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-14 17:51:18 +0000 |
commit | 326441639c0b3eb3c84d1b3368e1e12b4aba75e7 (patch) | |
tree | 7267dd41d98485c3d0716a48523b95a218897884 | |
parent | ccdf83cd04e734fafa2beed207cb523af8783961 (diff) | |
download | libmicrohttpd-326441639c0b3eb3c84d1b3368e1e12b4aba75e7.tar.gz libmicrohttpd-326441639c0b3eb3c84d1b3368e1e12b4aba75e7.zip |
fix dual stack option
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index ea4c0538..f27f0c83 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -3019,7 +3019,7 @@ MHD_start_daemon_va (unsigned int flags, | |||
3019 | daemon->socket_fd = socket_fd; | 3019 | daemon->socket_fd = socket_fd; |
3020 | 3020 | ||
3021 | if ( (0 != (flags & MHD_USE_IPv6)) && | 3021 | if ( (0 != (flags & MHD_USE_IPv6)) && |
3022 | (0 == (flags & MHD_USE_DUAL_STACK)) ) | 3022 | (MHD_USE_DUAL_STACK == (flags & MHD_USE_DUAL_STACK)) ) |
3023 | { | 3023 | { |
3024 | #ifdef IPPROTO_IPV6 | 3024 | #ifdef IPPROTO_IPV6 |
3025 | #ifdef IPV6_V6ONLY | 3025 | #ifdef IPV6_V6ONLY |