Browse Source

changes

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

2
I2PTunnel.cpp

@ -569,7 +569,7 @@ namespace client @@ -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);

2
I2PTunnel.h

@ -136,7 +136,7 @@ namespace client @@ -136,7 +136,7 @@ namespace client
const uint64_t I2P_UDP_SESSION_TIMEOUT = 1000 * 60 * 2;
/** max size for i2p udp */
const size_t I2P_UDP_MAX_MTU = i2p::datagram::MAX_DATAGRAM_SIZE;
const size_t I2P_UDP_MAX_MTU = 4000;
struct UDPSession
{

Loading…
Cancel
Save