From: Bart Polot Date: Fri, 2 Oct 2015 03:37:24 +0000 (+0000) Subject: - indicate retransmitted packets on conn log X-Git-Tag: initial-import-from-subversion-38251~1374 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4e9825455e8715c530a8a36984f05e3fcc3f281;p=oweals%2Fgnunet.git - indicate retransmitted packets on conn log --- diff --git a/src/cadet/cadet_common.c b/src/cadet/cadet_common.c index 8ac85fe17..dbb62d392 100644 --- a/src/cadet/cadet_common.c +++ b/src/cadet/cadet_common.c @@ -114,7 +114,8 @@ GC_m2s (uint16_t m) * Used to mark the "payload" of a non-payload message. */ case 0: - return ""; + s = "retrnsmit"; + break; /** * Request the creation of a path diff --git a/src/cadet/gnunet-service-cadet_local.c b/src/cadet/gnunet-service-cadet_local.c index 8660b1899..79694a242 100644 --- a/src/cadet/gnunet-service-cadet_local.c +++ b/src/cadet/gnunet-service-cadet_local.c @@ -471,11 +471,14 @@ handle_channel_destroy (void *cls, struct GNUNET_SERVER_Client *client, /* Retrieve tunnel */ chid = ntohl (msg->channel_id); - LOG (GNUNET_ERROR_TYPE_DEBUG, " for channel %X\n", chid); ch = GML_channel_get (c, chid); + + LOG (GNUNET_ERROR_TYPE_INFO, "Client %u is destroying channel %X\n", + c->id, chid); + if (NULL == ch) { - LOG (GNUNET_ERROR_TYPE_DEBUG, " channel %X not found\n", chid); + LOG (GNUNET_ERROR_TYPE_WARNING, " channel %X not found\n", chid); GNUNET_STATISTICS_update (stats, "# client destroy messages on unknown channel", 1, GNUNET_NO);