From: Christian Grothoff Date: Tue, 8 May 2012 19:58:54 +0000 (+0000) Subject: -fixing connection problem in WLAN. Someone should explain to me why the other plugin... X-Git-Tag: initial-import-from-subversion-38251~13584 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=37a2d4e55d24a52ba9c44be94a710a2d831fa19a;p=oweals%2Fgnunet.git -fixing connection problem in WLAN. Someone should explain to me why the other plugins work without this --- diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index b0da708c7..cb08e68b2 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -1631,7 +1631,11 @@ GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer, cc = GNUNET_malloc (sizeof (struct ContinutionContext)); cc->session = n->session; cc->address = GNUNET_HELLO_address_copy (address); - + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Sending CONNECT message to %s\n", + GNUNET_i2s (&n->id)); + if (n->state != S_CONNECT_RECV) + change_state (n, S_CONNECT_RECV); ret = send_with_session (n, (const char *) &connect_msg, msg_len, UINT32_MAX, GNUNET_TIME_UNIT_FOREVER_REL,