mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-10 11:28:27 +01:00
fixed #798. Correct buffer size
This commit is contained in:
parent
a8778e358d
commit
051e642c0c
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue