From 81f6f914bf482010e8dbb003f789f69c8c05a388 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 11 Oct 2012 16:34:40 +0000 Subject: [PATCH] - update bck pid on all traffic, not only local --- src/mesh/gnunet-service-mesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 506cb9d20..c2cca1f23 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -5769,6 +5769,7 @@ handle_mesh_data_to_orig (void *cls, const struct GNUNET_PeerIdentity *peer, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " pid %u not seen yet, forwarding\n", pid); } + t->bck_pid++; if (NULL != t->owner) { @@ -7639,7 +7640,6 @@ handle_local_to_origin (void *cls, struct GNUNET_SERVER_Client *client, ntohl (copy->pid)); return; } - t->bck_pid++; copy->sender = my_full_id; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " calling generic handler...\n"); -- 2.25.1