Browse Source

don't change Firewalled status to Unknown if peer test error

gha
orignal 3 months ago
parent
commit
eed48c43fd
  1. 2
      libi2pd/SSU2Session.cpp

2
libi2pd/SSU2Session.cpp

@ -2387,7 +2387,7 @@ namespace transport @@ -2387,7 +2387,7 @@ namespace transport
{
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)));
if (GetTestingState ())
if (GetTestingState () && GetRouterStatus () != eRouterStatusFirewalled)
SetRouterStatus (eRouterStatusUnknown);
session->Done ();
}

Loading…
Cancel
Save