projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a051ae5
)
- update bck pid on all traffic, not only local
author
Bart Polot
<bart@net.in.tum.de>
Thu, 11 Oct 2012 16:34:40 +0000
(16:34 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 11 Oct 2012 16:34:40 +0000
(16:34 +0000)
src/mesh/gnunet-service-mesh.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh.c
b/src/mesh/gnunet-service-mesh.c
index 506cb9d207d5d83b6b9c3ffa68f48b2d3ca70b4e..c2cca1f23f69d91fbf33984113bc0944205e3f7b 100644
(file)
--- 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);
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
" pid %u not seen yet, forwarding\n", pid);
}
+ t->bck_pid++;
if (NULL != t->owner)
{
if (NULL != t->owner)
{
@@
-7639,7
+7640,6
@@
handle_local_to_origin (void *cls, struct GNUNET_SERVER_Client *client,
ntohl (copy->pid));
return;
}
ntohl (copy->pid));
return;
}
- t->bck_pid++;
copy->sender = my_full_id;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
" calling generic handler...\n");
copy->sender = my_full_id;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
" calling generic handler...\n");