mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 19:27:49 +02:00
correct packet size
This commit is contained in:
parent
2cbdb0bc17
commit
32c98e2161
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue