mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-09-08 06:21:53 +00:00
fixed #798. Correct buffer size
This commit is contained in:
parent
a8778e358d
commit
051e642c0c
2
SSU.h
2
SSU.h
@ -30,7 +30,7 @@ namespace transport
|
|||||||
|
|
||||||
struct SSUPacket
|
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;
|
boost::asio::ip::udp::endpoint from;
|
||||||
size_t len;
|
size_t len;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user