diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-12-23 20:52:10 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-12-23 20:52:10 +0100 |
commit | ca79dc4bdd7aeb449321029facf30c333be10337 (patch) | |
tree | 807f75ba49046e274138860b389a74f611462e79 /src/fastd.c | |
parent | f7cdd48892dafe00b8956cd2b087814d0257bdb4 (diff) | |
download | fastd-ca79dc4bdd7aeb449321029facf30c333be10337.tar fastd-ca79dc4bdd7aeb449321029facf30c333be10337.zip |
Always reset to the first address of the first remote
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |