mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
correct packet size
This commit is contained in:
parent
2cbdb0bc17
commit
32c98e2161
@ -52,7 +52,7 @@ namespace transport
|
|||||||
|
|
||||||
void SSUData::AdjustPacketSize (std::shared_ptr<const i2p::data::RouterInfo> remoteRouter)
|
void SSUData::AdjustPacketSize (std::shared_ptr<const i2p::data::RouterInfo> remoteRouter)
|
||||||
{
|
{
|
||||||
if (remoteRouter) return;
|
if (!remoteRouter) return;
|
||||||
auto ssuAddress = remoteRouter->GetSSUAddress ();
|
auto ssuAddress = remoteRouter->GetSSUAddress ();
|
||||||
if (ssuAddress && ssuAddress->ssu->mtu)
|
if (ssuAddress && ssuAddress->ssu->mtu)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user