This commit is contained in:
Jeff Becker 2016-08-21 20:23:39 -04:00
parent 28627a81dc
commit 72974c85c8
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

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