aboutsummaryrefslogtreecommitdiff
path: root/src/topology/gnunet-daemon-topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r--src/topology/gnunet-daemon-topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index ebe19a58d..f7118a058 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -511,7 +511,7 @@ setup_filter (struct Peer *peer)
511 "useless" once a HELLO has been passed on to ~100 511 "useless" once a HELLO has been passed on to ~100
512 other peers, which is likely more than enough in 512 other peers, which is likely more than enough in
513 any case; hence 64, 5 as bloomfilter parameters. */ 513 any case; hence 64, 5 as bloomfilter parameters. */
514 peer->filter = GNUNET_CONTAINER_bloomfilter_load (NULL, 64, 5); 514 peer->filter = GNUNET_CONTAINER_bloomfilter_init (NULL, 64, 5);
515 peer->filter_expiration = GNUNET_TIME_relative_to_absolute (HELLO_ADVERTISEMENT_MIN_REPEAT_FREQUENCY); 515 peer->filter_expiration = GNUNET_TIME_relative_to_absolute (HELLO_ADVERTISEMENT_MIN_REPEAT_FREQUENCY);
516 /* never send a peer its own HELLO */ 516 /* never send a peer its own HELLO */
517 GNUNET_CONTAINER_bloomfilter_add (peer->filter, &peer->pid.hashPubKey); 517 GNUNET_CONTAINER_bloomfilter_add (peer->filter, &peer->pid.hashPubKey);