- indicate retransmitted packets on conn log
authorBart Polot <bart@net.in.tum.de>
Fri, 2 Oct 2015 03:37:24 +0000 (03:37 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 2 Oct 2015 03:37:24 +0000 (03:37 +0000)
src/cadet/cadet_common.c
src/cadet/gnunet-service-cadet_local.c

index 8ac85fe17f73c1b8354e9c01f4839184b2ff1493..dbb62d392cf8ef4823d0d26e704d6d3d6aac063e 100644 (file)
@@ -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
index 8660b1899257499c0f0b49a02fbd25092bdbff1b..79694a2425563ba4ddb87d1bb03927dd8227122d 100644 (file)
@@ -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);