diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 2b010732d..ee23af7fc 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -2800,7 +2800,7 @@ GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message, | |||
2800 | gettext_noop ("# peers connected"), | 2800 | gettext_noop ("# peers connected"), |
2801 | ++neighbours_connected, | 2801 | ++neighbours_connected, |
2802 | GNUNET_NO); | 2802 | GNUNET_NO); |
2803 | connect_notify_cb (callback_cls, &n->id, NULL, 0, | 2803 | connect_notify_cb (callback_cls, &n->id, |
2804 | n->primary_address.bandwidth_in, | 2804 | n->primary_address.bandwidth_in, |
2805 | n->primary_address.bandwidth_out); | 2805 | n->primary_address.bandwidth_out); |
2806 | /* Tell ATS that the outbound session we created to send CONNECT was successfull */ | 2806 | /* Tell ATS that the outbound session we created to send CONNECT was successfull */ |
@@ -3059,7 +3059,7 @@ GST_neighbours_handle_session_ack (const struct GNUNET_MessageHeader *message, | |||
3059 | gettext_noop ("# peers connected"), | 3059 | gettext_noop ("# peers connected"), |
3060 | ++neighbours_connected, | 3060 | ++neighbours_connected, |
3061 | GNUNET_NO); | 3061 | GNUNET_NO); |
3062 | connect_notify_cb (callback_cls, &n->id, NULL, 0, | 3062 | connect_notify_cb (callback_cls, &n->id, |
3063 | n->primary_address.bandwidth_in, | 3063 | n->primary_address.bandwidth_in, |
3064 | n->primary_address.bandwidth_out); | 3064 | n->primary_address.bandwidth_out); |
3065 | GNUNET_ATS_address_add(GST_ats, | 3065 | GNUNET_ATS_address_add(GST_ats, |
@@ -3244,7 +3244,7 @@ neighbours_iterate (void *cls, const struct GNUNET_HashCode * key, void *value) | |||
3244 | bandwidth_out = GNUNET_CONSTANTS_DEFAULT_BW_IN_OUT; | 3244 | bandwidth_out = GNUNET_CONSTANTS_DEFAULT_BW_IN_OUT; |
3245 | } | 3245 | } |
3246 | 3246 | ||
3247 | ic->cb (ic->cb_cls, &n->id, NULL, 0, | 3247 | ic->cb (ic->cb_cls, &n->id, |
3248 | n->primary_address.address, | 3248 | n->primary_address.address, |
3249 | bandwidth_in, bandwidth_out); | 3249 | bandwidth_in, bandwidth_out); |
3250 | } | 3250 | } |