mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-07 07:44:13 +00:00
fixed typo
This commit is contained in:
parent
2e0019c8c8
commit
2d998aba43
@ -399,7 +399,7 @@ namespace transport
|
|||||||
if (context.SupportsV6 ())
|
if (context.SupportsV6 ())
|
||||||
{
|
{
|
||||||
address = peer.router->GetPublishedNTCP2V6Address ();
|
address = peer.router->GetPublishedNTCP2V6Address ();
|
||||||
if (address && m_CheckReserved && !i2p::util::net::IsInReservedRange(address->host))
|
if (address && m_CheckReserved && i2p::util::net::IsInReservedRange(address->host))
|
||||||
address = nullptr;
|
address = nullptr;
|
||||||
}
|
}
|
||||||
peer.numAttempts++;
|
peer.numAttempts++;
|
||||||
@ -409,7 +409,7 @@ namespace transport
|
|||||||
if (context.SupportsV4 () && !peer.router->IsUnreachable ())
|
if (context.SupportsV4 () && !peer.router->IsUnreachable ())
|
||||||
{
|
{
|
||||||
address = peer.router->GetPublishedNTCP2V4Address ();
|
address = peer.router->GetPublishedNTCP2V4Address ();
|
||||||
if (address && m_CheckReserved && !i2p::util::net::IsInReservedRange(address->host))
|
if (address && m_CheckReserved && i2p::util::net::IsInReservedRange(address->host))
|
||||||
address = nullptr;
|
address = nullptr;
|
||||||
}
|
}
|
||||||
peer.numAttempts++;
|
peer.numAttempts++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user