aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-08-22 18:51:40 +0000
committerBart Polot <bart@net.in.tum.de>2012-08-22 18:51:40 +0000
commit02362b0f246023b2918aa31a5065ab2e5451d386 (patch)
treee71b84d9a193a88c939397dfbfed06e8dfe223b1
parent338c85b7f114869623fc16937b54ae0dead5bb9b (diff)
downloadgnunet-02362b0f246023b2918aa31a5065ab2e5451d386.tar.gz
gnunet-02362b0f246023b2918aa31a5065ab2e5451d386.zip
- fix unsolicited message control
-rw-r--r--src/mesh/gnunet-service-mesh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index c4d3b59aa..4bd50337a 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -5039,7 +5039,8 @@ handle_mesh_data_unicast (void *cls, const struct GNUNET_PeerIdentity *peer,
5039 GNUNET_CONTAINER_multihashmap_iterate (t->children_fc, 5039 GNUNET_CONTAINER_multihashmap_iterate (t->children_fc,
5040 &tunnel_add_skip, 5040 &tunnel_add_skip,
5041 &neighbor); 5041 &neighbor);
5042 if (GNUNET_YES == GMC_is_pid_bigger (pid, cinfo->fwd_ack)) 5042 if (GNUNET_YES == t->nobuffer &&
5043 GNUNET_YES == GMC_is_pid_bigger (pid, cinfo->fwd_ack))
5043 { 5044 {
5044 GNUNET_STATISTICS_update (stats, "# unsolicited unicast", 1, GNUNET_NO); 5045 GNUNET_STATISTICS_update (stats, "# unsolicited unicast", 1, GNUNET_NO);
5045 GNUNET_break_op (0); 5046 GNUNET_break_op (0);