diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index 54679a9da..11ebf79ea 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -351,7 +351,7 @@ void p3ConnectMgr::netStatusReset() for(std::map::iterator it = mFriendList.begin(); it != mFriendList.end(); it++) { it->second.state &= ~RS_PEER_S_CONNECTED ; - it->second.lastattempt = 0 ; // forces immediate re-connexion + it->second.lastattempt = time(NULL) - MIN_RETRY_PERIOD + 5 ; // forces immediate re-connexion in 5 seconds } IndicateConfigChanged();