diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-08-22 18:51:40 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-08-22 18:51:40 +0000 |
commit | 02362b0f246023b2918aa31a5065ab2e5451d386 (patch) | |
tree | e71b84d9a193a88c939397dfbfed06e8dfe223b1 | |
parent | 338c85b7f114869623fc16937b54ae0dead5bb9b (diff) | |
download | gnunet-02362b0f246023b2918aa31a5065ab2e5451d386.tar.gz gnunet-02362b0f246023b2918aa31a5065ab2e5451d386.zip |
- fix unsolicited message control
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 3 |
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); |