From c6081c9fdb833f56864f99b87c4254a1f2896e94 Mon Sep 17 00:00:00 2001 From: Determinant Date: Sat, 22 Feb 2020 19:41:23 +0000 Subject: ... --- include/salticidae/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/salticidae/network.h b/include/salticidae/network.h index 19d6db0..27fc6d6 100644 --- a/include/salticidae/network.h +++ b/include/salticidae/network.h @@ -1155,7 +1155,7 @@ int32_t PeerNetwork::conn_peer(const PeerId &pid, int32_t ntry, double /* has to terminate established connection *before* making the next * attempt */ if (p->state == Peer::State::DISCONNECTED && ntry) - start_active_conn(p.get()); + p->ev_retry_timer.add(0); else if (p->state == Peer::State::CONNECTED) { p->state = Peer::State::RESET; -- cgit v1.2.3-70-g09d2