diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-16 08:15:10 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-16 08:15:10 +0000 |
commit | 4381da4fd10a89d3c67133d367e81063ccb63515 (patch) | |
tree | c0b14a82133d2a4fd98587b9faa977540acb87e6 /src/transport/gnunet-service-transport.c | |
parent | d9e805e67df18b35711f3aa04f3d27455b6b7dbf (diff) | |
download | gnunet-4381da4fd10a89d3c67133d367e81063ccb63515.tar.gz gnunet-4381da4fd10a89d3c67133d367e81063ccb63515.zip |
clarified docu and log level for ATS disconnect notifications
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 7d385dd41..acf356149 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -595,8 +595,10 @@ plugin_env_session_start (void *cls, | |||
595 | * @param cls closure | 595 | * @param cls closure |
596 | * @param address address to use (for peer given in address) | 596 | * @param address address to use (for peer given in address) |
597 | * @param session session to use (if available) | 597 | * @param session session to use (if available) |
598 | * @param bandwidth_out assigned outbound bandwidth for the connection, 0 to disconnect from peer | 598 | * @param bandwidth_out assigned outbound bandwidth for the connection in NBO, |
599 | * @param bandwidth_in assigned inbound bandwidth for the connection, 0 to disconnect from peer | 599 | * 0 to disconnect from peer |
600 | * @param bandwidth_in assigned inbound bandwidth for the connection in NBO, | ||
601 | * 0 to disconnect from peer | ||
600 | * @param ats ATS information | 602 | * @param ats ATS information |
601 | * @param ats_count number of ATS elements | 603 | * @param ats_count number of ATS elements |
602 | */ | 604 | */ |
@@ -615,7 +617,7 @@ ats_request_address_change (void *cls, | |||
615 | /* ATS tells me to disconnect from peer */ | 617 | /* ATS tells me to disconnect from peer */ |
616 | if ((bw_in == 0) && (bw_out == 0)) | 618 | if ((bw_in == 0) && (bw_out == 0)) |
617 | { | 619 | { |
618 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 620 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
619 | "ATS tells me to disconnect from peer `%s'\n", | 621 | "ATS tells me to disconnect from peer `%s'\n", |
620 | GNUNET_i2s (&address->peer)); | 622 | GNUNET_i2s (&address->peer)); |
621 | GST_neighbours_force_disconnect (&address->peer); | 623 | GST_neighbours_force_disconnect (&address->peer); |