cleanup exluded routers list for LeaseSets

This commit is contained in:
orignal 2014-03-23 11:12:11 -04:00
parent 74a7f8c869
commit 219f992d9e
2 changed files with 8 additions and 1 deletions

View file

@ -42,6 +42,11 @@ namespace data
return msg;
}
void RequestedDestination::ClearExcludedPeers ()
{
m_ExcludedPeers.clear ();
}
#ifndef _WIN32
const char NetDb::m_NetDbPath[] = "/netDb";
#else
@ -353,6 +358,7 @@ namespace data
}
if (msgs.size () > 0)
{
dest->ClearExcludedPeers ();
dest->SetLastOutboundTunnel (outbound);
outbound->SendTunnelDataMsg (msgs);
}