From 1db2f3fa0df37b092a3fc3fda1e4505c9f25ea2a Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 7 Oct 2011 11:28:19 +0000 Subject: [PATCH] --- src/transport/plugin_transport_http.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 656f49c06..aa4465911 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c @@ -797,16 +797,17 @@ http_check_ipv6 (struct Plugin *plugin) } GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, plugin->name, _ - ("Disabling IPv6 since it is not supported on this system\n")); + ("Disabling IPv6 since it is not supported on this system!\n")); plugin->ipv6 = GNUNET_NO; } else { - GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, - _("Enabling IPv6 on this system\n")); GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (desc)); desc = NULL; } + + GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, + "Testing IPv6 on this system: %s\n", (plugin->ipv6 == GNUNET_YES) ? "successful" : "failed"); } } @@ -1203,9 +1204,6 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls) plugin->protocol = "http"; #endif /* Configure plugin from configuration */ - - http_check_ipv6 (plugin); - res = configure_plugin (plugin); if (res == GNUNET_SYSERR) { @@ -1216,6 +1214,9 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls) return NULL; } + /* checking IPv6 support */ + http_check_ipv6 (plugin); + /* Start client */ res = client_start (plugin); if (res == GNUNET_SYSERR) -- 2.25.1