mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
don't change Firewalled status to Unknown if peer test error
This commit is contained in:
parent
600f36539f
commit
eed48c43fd
|
@ -2387,7 +2387,7 @@ namespace transport
|
||||||
{
|
{
|
||||||
LogPrint (eLogInfo, "SSU2: Peer test 4 error code ", (int)buf[1], " from ",
|
LogPrint (eLogInfo, "SSU2: Peer test 4 error code ", (int)buf[1], " from ",
|
||||||
i2p::data::GetIdentHashAbbreviation (buf[1] < 64 ? GetRemoteIdentity ()->GetIdentHash () : i2p::data::IdentHash (buf + 3)));
|
i2p::data::GetIdentHashAbbreviation (buf[1] < 64 ? GetRemoteIdentity ()->GetIdentHash () : i2p::data::IdentHash (buf + 3)));
|
||||||
if (GetTestingState ())
|
if (GetTestingState () && GetRouterStatus () != eRouterStatusFirewalled)
|
||||||
SetRouterStatus (eRouterStatusUnknown);
|
SetRouterStatus (eRouterStatusUnknown);
|
||||||
session->Done ();
|
session->Done ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue