configure persist of peer profiles

* If persist.profiles = false, peer profiles not stored on disk
* remove inet_pton for windows
* update configs
This commit is contained in:
R4SAS 2018-11-22 00:13:23 +03:00
parent ca671551c8
commit 79c0c11e80
7 changed files with 34 additions and 12 deletions

View file

@ -817,7 +817,6 @@ namespace transport
if (profile)
{
profile->TunnelNonReplied();
profile->Save(it->first);
}
std::unique_lock<std::mutex> l(m_PeersMutex);
it = m_Peers.erase (it);