Browse Source

fixed #798. Correct buffer size

pull/801/head
orignal 7 years ago
parent
commit
051e642c0c
  1. 2
      SSU.h

2
SSU.h

@ -30,7 +30,7 @@ namespace transport @@ -30,7 +30,7 @@ namespace transport
struct SSUPacket
{
i2p::crypto::AESAlignedBuffer<1500> buf;
i2p::crypto::AESAlignedBuffer<SSU_MTU_V4 + 18> buf; // max MTU + iv + size
boost::asio::ip::udp::endpoint from;
size_t len;
};

Loading…
Cancel
Save