[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30724 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30724 - gnunet/src/mesh |
Date: |
Fri, 15 Nov 2013 14:16:40 +0100 |
Author: bartpolot
Date: 2013-11-15 14:16:40 +0100 (Fri, 15 Nov 2013)
New Revision: 30724
Modified:
gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- fix NACK handling (related to cov 10832)
Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c 2013-11-15 13:12:52 UTC
(rev 30723)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c 2013-11-15 13:16:40 UTC
(rev 30724)
@@ -973,10 +973,10 @@
/**
- * Handle channel NACK.
+ * Handle channel NACK: check correctness and call channel handler for NACKs.
*
- * @param t Tunnel on which the data came.
- * @param msg Data message.
+ * @param t Tunnel on which the NACK came.
+ * @param msg NACK message.
*/
static void
handle_ch_nack (struct MeshTunnel3 *t,
@@ -995,7 +995,7 @@
/* Check channel */
ch = GMT_get_channel (t, ntohl (msg->chid));
- if (NULL != ch && ! GMT_is_loopback (t))
+ if (NULL == ch)
{
GNUNET_STATISTICS_update (stats, "# channel NACK on unknown channel",
1, GNUNET_NO);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30724 - gnunet/src/mesh,
gnunet <=