summaryrefslogtreecommitdiffstats
path: root/src/peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peer.c')
-rw-r--r--src/peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peer.c b/src/peer.c
index a735f5e..86cf4a1 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -228,7 +228,7 @@ static void setup_peer(fastd_context *ctx, fastd_peer *peer) {
ctx->conf->protocol->init_peer_state(ctx, peer);
if (!fastd_peer_is_floating(peer) || fastd_peer_is_dynamic(peer))
- fastd_task_schedule_handshake(ctx, peer, 0);
+ fastd_task_schedule_handshake(ctx, peer, fastd_rand(ctx, 0, 3000));
}
static void delete_peer(fastd_context *ctx, fastd_peer *peer) {