Browse Source

fix

pull/628/head
Jeff Becker 8 years ago
parent
commit
e8195b78ba
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 4
      I2PTunnel.cpp

4
I2PTunnel.cpp

@ -571,7 +571,7 @@ namespace client @@ -571,7 +571,7 @@ namespace client
uint8_t * data = new uint8_t[len];
memcpy(data, m_Buffer, len);
m_Service.post([&,len, data] () {
m_Destination->SendDatagramTo(data, len, Identity, LocalPort, RemotePort);
m_Destination->SendDatagramTo(data, len, Identity, 0, 0);
delete [] data;
});
@ -597,7 +597,7 @@ namespace client @@ -597,7 +597,7 @@ namespace client
{
auto dgram = m_LocalDest->GetDatagramDestination();
if (dgram) {
dgram->ResetReceiver(LocalPort);
dgram->ResetReceiver(0);
}
LogPrint(eLogInfo, "UDPServer: done");
}

Loading…
Cancel
Save