From ca79dc4bdd7aeb449321029facf30c333be10337 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 23 Dec 2013 20:52:10 +0100 Subject: Always reset to the first address of the first remote --- src/fastd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fastd.c') diff --git a/src/fastd.c b/src/fastd.c index e456f14..634c736 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -448,6 +448,7 @@ static void handle_handshake_queue(fastd_context_t *ctx) { if (!fastd_peer_may_connect(ctx, peer)) { peer->next_remote = peer->remotes; + peer->next_remote->current_address = 0; return; } -- cgit v1.2.3