Skip to content

Commit

Permalink
don't change Firewalled status to Unknown if peer test error
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Oct 1, 2024
1 parent 600f365 commit eed48c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libi2pd/SSU2Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}
Expand Down

0 comments on commit eed48c4

Please sign in to comment.