aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_neighbours.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-22 11:40:46 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-22 11:40:46 +0100
commitac95589b0c3f54a7991b1461028fdb5e47c887db (patch)
tree5e792390290a836b7673fae09675c39d589d6832 /src/dht/gnunet-service-dht_neighbours.c
parent8000747074b82caeacb0f43710940220d9840d37 (diff)
try to fix BF size mess created by original BLOCK API change
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c
index 975872f1be..6eef05c205 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -661,7 +661,9 @@ send_find_peer_message (void *cls)
GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
UINT32_MAX),
NULL,
- 0);
+ 0,
+ "filter-size",
+ DHT_BLOOM_SIZE);
GNUNET_CONTAINER_multipeermap_iterate (all_connected_peers,
&add_known_to_bloom,
bg);
@@ -2087,6 +2089,8 @@ handle_dht_p2p_get (void *cls,
type,
get->bf_mutator,
&xquery[xquery_size],
+ reply_bf_size,
+ "filter-size",
reply_bf_size);
/* remember request for routing replies */
GDS_ROUTING_add (peer->id,