summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-22 20:34:13 +0000
committerChristian Grothoff <christian@grothoff.org>2014-11-22 20:34:13 +0000
commit4b6729873ec13239a73b2858a51bd71ec32bed5e (patch)
tree0006e9344a81cf05eee1b196a17a36ef24ab34b9 /src/transport/plugin_transport_http_server.c
parentf65f40d0d8162e31b32fdc2595b7e5088cd0a5b3 (diff)
-rename constants
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,
MHD_OPTION_EXTERNAL_LOGGER,
&server_log, NULL,
MHD_OPTION_END);
-#ifdef SO_TCPSTEALTH
+#ifdef TCP_STEALTH
if ( (NULL != server) &&
(0 != (plugin->options & HTTP_OPTIONS_TCP_STEALTH)) )
{
@@ -2263,7 +2263,7 @@ run_mhd_start_daemon (struct HTTP_Server_Plugin *plugin,
NULL);
if ( (0 != setsockopt ((int) di->listen_fd,
IPPROTO_TCP,
- SO_TCPSTEALTH,
+ TCP_STEALTH,
plugin->env->my_identity,
sizeof (struct GNUNET_PeerIdentity))) )
{
@@ -3429,7 +3429,7 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls)
plugin->name,
"TCP_STEALTH"))
{
-#ifdef SO_TCPSTEALTH
+#ifdef TCP_STEALTH
plugin->options |= HTTP_OPTIONS_TCP_STEALTH;
#else
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,