aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index 3e5a8f24f..00ee26d30 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -2252,7 +2252,7 @@ run_mhd_start_daemon (struct HTTP_Server_Plugin *plugin,
2252 MHD_OPTION_EXTERNAL_LOGGER, 2252 MHD_OPTION_EXTERNAL_LOGGER,
2253 &server_log, NULL, 2253 &server_log, NULL,
2254 MHD_OPTION_END); 2254 MHD_OPTION_END);
2255#ifdef SO_TCPSTEALTH 2255#ifdef TCP_STEALTH
2256 if ( (NULL != server) && 2256 if ( (NULL != server) &&
2257 (0 != (plugin->options & HTTP_OPTIONS_TCP_STEALTH)) ) 2257 (0 != (plugin->options & HTTP_OPTIONS_TCP_STEALTH)) )
2258 { 2258 {
@@ -2263,7 +2263,7 @@ run_mhd_start_daemon (struct HTTP_Server_Plugin *plugin,
2263 NULL); 2263 NULL);
2264 if ( (0 != setsockopt ((int) di->listen_fd, 2264 if ( (0 != setsockopt ((int) di->listen_fd,
2265 IPPROTO_TCP, 2265 IPPROTO_TCP,
2266 SO_TCPSTEALTH, 2266 TCP_STEALTH,
2267 plugin->env->my_identity, 2267 plugin->env->my_identity,
2268 sizeof (struct GNUNET_PeerIdentity))) ) 2268 sizeof (struct GNUNET_PeerIdentity))) )
2269 { 2269 {
@@ -3429,7 +3429,7 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls)
3429 plugin->name, 3429 plugin->name,
3430 "TCP_STEALTH")) 3430 "TCP_STEALTH"))
3431 { 3431 {
3432#ifdef SO_TCPSTEALTH 3432#ifdef TCP_STEALTH
3433 plugin->options |= HTTP_OPTIONS_TCP_STEALTH; 3433 plugin->options |= HTTP_OPTIONS_TCP_STEALTH;
3434#else 3434#else
3435 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 3435 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,