aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-10-02 03:37:24 +0000
committerBart Polot <bart@net.in.tum.de>2015-10-02 03:37:24 +0000
commita4e9825455e8715c530a8a36984f05e3fcc3f281 (patch)
treed166f1f586a281d2008a569f6831024f1e22eae2 /src/cadet
parentd638e1be03a2710eb980edb17a12bc2f16e76e26 (diff)
downloadgnunet-a4e9825455e8715c530a8a36984f05e3fcc3f281.tar.gz
gnunet-a4e9825455e8715c530a8a36984f05e3fcc3f281.zip
- indicate retransmitted packets on conn log
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/cadet_common.c3
-rw-r--r--src/cadet/gnunet-service-cadet_local.c7
2 files changed, 7 insertions, 3 deletions
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)
114 * Used to mark the "payload" of a non-payload message. 114 * Used to mark the "payload" of a non-payload message.
115 */ 115 */
116 case 0: 116 case 0:
117 return ""; 117 s = "retrnsmit";
118 break;
118 119
119 /** 120 /**
120 * Request the creation of a path 121 * 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,
471 471
472 /* Retrieve tunnel */ 472 /* Retrieve tunnel */
473 chid = ntohl (msg->channel_id); 473 chid = ntohl (msg->channel_id);
474 LOG (GNUNET_ERROR_TYPE_DEBUG, " for channel %X\n", chid);
475 ch = GML_channel_get (c, chid); 474 ch = GML_channel_get (c, chid);
475
476 LOG (GNUNET_ERROR_TYPE_INFO, "Client %u is destroying channel %X\n",
477 c->id, chid);
478
476 if (NULL == ch) 479 if (NULL == ch)
477 { 480 {
478 LOG (GNUNET_ERROR_TYPE_DEBUG, " channel %X not found\n", chid); 481 LOG (GNUNET_ERROR_TYPE_WARNING, " channel %X not found\n", chid);
479 GNUNET_STATISTICS_update (stats, 482 GNUNET_STATISTICS_update (stats,
480 "# client destroy messages on unknown channel", 483 "# client destroy messages on unknown channel",
481 1, GNUNET_NO); 484 1, GNUNET_NO);