This commit is contained in:
Jeff Becker 2016-08-21 21:28:24 -04:00
parent 7b5e18d94b
commit da82b14307
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
2 changed files with 2 additions and 2 deletions

View file

@ -569,7 +569,7 @@ namespace client
LogPrint(eLogDebug, "UDPSesssion: HandleRecveived");
if(!ecode) {
LogPrint(eLogDebug, "UDPSession: forward ", len, "B from ", FromEndpoint);
auto dgram = m_Destination->GetDatagramDestination();
auto dgram = m_Destination.get()->GetDatagramDestination();
if(dgram) {
LastActivity = i2p::util::GetMillisecondsSinceEpoch();
dgram->SendDatagramTo(m_Buffer, len, Identity, 0, 0);