}
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");
}
}
plugin->protocol = "http";
#endif
/* Configure plugin from configuration */
-
- http_check_ipv6 (plugin);
-
res = configure_plugin (plugin);
if (res == GNUNET_SYSERR)
{
return NULL;
}
+ /* checking IPv6 support */
+ http_check_ipv6 (plugin);
+
/* Start client */
res = client_start (plugin);
if (res == GNUNET_SYSERR)