Extending the testcases to use bluetooth
[oweals/gnunet.git] / src / transport / gnunet-service-transport_clients.c
index be05e027a5da4dae673bbd7339b491b13fe6f3f3..c7c148fbdee9585c42b745b98eed42fcc8098d5e 100644 (file)
@@ -704,7 +704,12 @@ try_connect_if_allowed (void *cls, const struct GNUNET_PeerIdentity *peer,
                         int result)
 {
   if (GNUNET_OK != result)
+  {
+         GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                     "Blacklist refuses connection attempt to peer `%s'\n",
+                     GNUNET_i2s (peer));
     return;                     /* not allowed */
+  }
   GST_neighbours_try_connect (peer);
 }
 
@@ -978,8 +983,6 @@ GST_clients_start (struct GNUNET_SERVER_Handle *server)
      GNUNET_MESSAGE_TYPE_TRANSPORT_START, sizeof (struct StartMessage)},
     {&clients_handle_hello, NULL,
      GNUNET_MESSAGE_TYPE_HELLO, 0},
-         {&clients_handle_hello, NULL,
-                GNUNET_MESSAGE_TYPE_FRIEND_HELLO, 0},
     {&clients_handle_send, NULL,
      GNUNET_MESSAGE_TYPE_TRANSPORT_SEND, 0},
     {&clients_handle_request_connect, NULL,