diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-02-04 15:40:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-02-04 15:40:56 +0000 |
commit | 9f5dbc004450cbd34644380fb2f7d3972504f0bd (patch) | |
tree | 5a3eb9318f0b5123cadcb5b411a4d69140748dd2 /src/transport/gnunet-service-transport_neighbours.c | |
parent | 9b591a03f71042c8b00f9ba55c303d738a0c2363 (diff) | |
download | gnunet-9f5dbc004450cbd34644380fb2f7d3972504f0bd.tar.gz gnunet-9f5dbc004450cbd34644380fb2f7d3972504f0bd.zip |
throttling validations
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 04c455dfd..cad325d98 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -2345,6 +2345,8 @@ GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer, | |||
2345 | if (NULL == (papi = GST_plugins_find (address->transport_name))) | 2345 | if (NULL == (papi = GST_plugins_find (address->transport_name))) |
2346 | { | 2346 | { |
2347 | /* we don't have the plugin for this address */ | 2347 | /* we don't have the plugin for this address */ |
2348 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
2349 | "2348 : `%s' \n", address->transport_name); | ||
2348 | GNUNET_ATS_address_destroyed (GST_ats, address, NULL); | 2350 | GNUNET_ATS_address_destroyed (GST_ats, address, NULL); |
2349 | return; | 2351 | return; |
2350 | } | 2352 | } |
@@ -3390,12 +3392,14 @@ GST_neighbour_get_current_address (const struct GNUNET_PeerIdentity *peer) | |||
3390 | * @param disconnect_cb function to call if we disconnect from a peer | 3392 | * @param disconnect_cb function to call if we disconnect from a peer |
3391 | * @param peer_address_cb function to call if we change an active address | 3393 | * @param peer_address_cb function to call if we change an active address |
3392 | * of a neighbour | 3394 | * of a neighbour |
3395 | * @param max_fds maximum number of fds to use | ||
3393 | */ | 3396 | */ |
3394 | void | 3397 | void |
3395 | GST_neighbours_start (void *cls, | 3398 | GST_neighbours_start (void *cls, |
3396 | NotifyConnect connect_cb, | 3399 | NotifyConnect connect_cb, |
3397 | GNUNET_TRANSPORT_NotifyDisconnect disconnect_cb, | 3400 | GNUNET_TRANSPORT_NotifyDisconnect disconnect_cb, |
3398 | GNUNET_TRANSPORT_PeerIterateCallback peer_address_cb) | 3401 | GNUNET_TRANSPORT_PeerIterateCallback peer_address_cb, |
3402 | unsigned int max_fds) | ||
3399 | { | 3403 | { |
3400 | callback_cls = cls; | 3404 | callback_cls = cls; |
3401 | connect_notify_cb = connect_cb; | 3405 | connect_notify_cb = connect_cb; |