1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

correct packet size

This commit is contained in:
orignal 2017-01-18 19:59:25 -05:00
parent 2cbdb0bc17
commit 32c98e2161

View File

@ -52,7 +52,7 @@ namespace transport
void SSUData::AdjustPacketSize (std::shared_ptr<const i2p::data::RouterInfo> remoteRouter)
{
if (remoteRouter) return;
if (!remoteRouter) return;
auto ssuAddress = remoteRouter->GetSSUAddress ();
if (ssuAddress && ssuAddress->ssu->mtu)
{