From: Bart Polot Date: Thu, 11 Oct 2012 16:34:40 +0000 (+0000) Subject: - update bck pid on all traffic, not only local X-Git-Tag: initial-import-from-subversion-38251~11439 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=81f6f914bf482010e8dbb003f789f69c8c05a388;p=oweals%2Fgnunet.git - update bck pid on all traffic, not only local --- 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");