mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
check if remote router supports peer test
This commit is contained in:
parent
2f2f14e3a7
commit
1292ec67c0
2 changed files with 6 additions and 3 deletions
|
@ -2287,7 +2287,7 @@ namespace transport
|
|||
if (GetTestingState ())
|
||||
{
|
||||
SetTestingState (false);
|
||||
if (GetRouterStatus () != eRouterStatusFirewalled)
|
||||
if (GetRouterStatus () != eRouterStatusFirewalled && addr->IsPeerTesting ())
|
||||
{
|
||||
SetRouterStatus (eRouterStatusFirewalled);
|
||||
if (m_Address->IsV4 ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue