From 0637ca6916fa115c0dbaa82fead7b20ddaa54b7d Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 13 Oct 2011 14:08:51 +0000 Subject: [PATCH] --- src/transport/gnunet-service-transport.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 86e51f580..11782446f 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -332,7 +332,9 @@ ats_request_address_change (void *cls, const struct GNUNET_PeerIdentity *peer, const void *plugin_addr, size_t plugin_addr_len, struct Session *session, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, - struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) + struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, + const struct GNUNET_TRANSPORT_ATS_Information * ats, + uint32_t ats_count) { uint32_t bw_in = ntohl (bandwidth_in.value__); uint32_t bw_out = ntohl (bandwidth_out.value__); @@ -345,7 +347,7 @@ ats_request_address_change (void *cls, const struct GNUNET_PeerIdentity *peer, } GST_neighbours_switch_to_address (peer, plugin_name, plugin_addr, - plugin_addr_len, session, NULL, 0); + plugin_addr_len, session, ats, ats_count); #if DEBUG_TRANSPORT GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sending outbound quota of %u Bps for peer `%s' to all clients\n", -- 2.25.1