fixed #798. Correct buffer size

This commit is contained in:
orignal 2017-02-09 11:05:42 -05:00
parent a8778e358d
commit 051e642c0c

2
SSU.h
View File

@ -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;
};