diff options
author | Determinant <[email protected]> | 2020-02-22 14:42:46 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2020-02-22 14:42:46 -0500 |
commit | d6885c510e1c3f142d00cbd8bf65bbc4dc44b195 (patch) | |
tree | a1263fd185cc394dd0115e3e24777f456b136107 /include | |
parent | c4ce16649f3eccd2e02a918a34251cd9f0f1a437 (diff) | |
parent | c6081c9fdb833f56864f99b87c4254a1f2896e94 (diff) |
Merge branch 'master' of github.com:Determinant/salticidaev0.2.1a
Diffstat (limited to 'include')
-rw-r--r-- | include/salticidae/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/network.h b/include/salticidae/network.h index 5fd5283..6a9b8cf 100644 --- a/include/salticidae/network.h +++ b/include/salticidae/network.h @@ -1166,7 +1166,7 @@ int32_t PeerNetwork<O, _, __>::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; |