gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17281 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r17281 - gnunet/src/transport
Date: Fri, 7 Oct 2011 13:28:19 +0200

Author: wachs
Date: 2011-10-07 13:28:19 +0200 (Fri, 07 Oct 2011)
New Revision: 17281

Modified:
   gnunet/src/transport/plugin_transport_http.c
Log:


Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c        2011-10-07 11:26:17 UTC 
(rev 17280)
+++ gnunet/src/transport/plugin_transport_http.c        2011-10-07 11:28:19 UTC 
(rev 17281)
@@ -797,16 +797,17 @@
       }
       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 @@
   plugin->protocol = "http";
 #endif
   /* Configure plugin from configuration */
-
-  http_check_ipv6 (plugin);
-
   res = configure_plugin (plugin);
   if (res == GNUNET_SYSERR)
   {
@@ -1216,6 +1214,9 @@
     return NULL;
   }
 
+  /* checking IPv6 support */
+  http_check_ipv6 (plugin);
+
   /* Start client */
   res = client_start (plugin);
   if (res == GNUNET_SYSERR)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]