This commit is contained in:
Jeff Becker 2016-08-21 22:11:41 -04:00
parent b1e3f88704
commit 47ebb6ae6c
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
2 changed files with 12 additions and 10 deletions

View file

@ -628,6 +628,7 @@ namespace client
LogPrint(eLogInfo, "UDP Tunnel: Trying to resolve ", m_RemoteDest);
m_RemoteIdent = new i2p::data::IdentHash;
m_RemoteIdent->Fill(0);
while(!context.GetAddressBook().GetIdentHash(m_RemoteDest, *m_RemoteIdent) && !m_cancel_resolve) {
LogPrint(eLogWarning, "UDP Tunnel: failed to lookup ", m_RemoteDest);
std::this_thread::sleep_for(std::chrono::seconds(1));