request lease set

This commit is contained in:
Jeff 2016-12-12 14:39:05 -05:00
parent 75690598e3
commit 919aa2895a

View File

@ -221,6 +221,7 @@ namespace datagram
}
if(!m_RemoteLeaseSet) {
// no remote lease set
m_LocalDestination->RequestDestination(m_RemoteIdent, std::bind(&DatagramSession::HandleLeaseSetUpdated, this, std::placeholders::_1));
return nullptr;
}
m_RoutingSession = m_LocalDestination->GetRoutingSession(m_RemoteLeaseSet, true);