check if remote router supports peer test

This commit is contained in:
orignal 2024-03-02 18:02:55 -05:00
parent 2f2f14e3a7
commit 1292ec67c0
2 changed files with 6 additions and 3 deletions

View file

@ -2287,7 +2287,7 @@ namespace transport
if (GetTestingState ())
{
SetTestingState (false);
if (GetRouterStatus () != eRouterStatusFirewalled)
if (GetRouterStatus () != eRouterStatusFirewalled && addr->IsPeerTesting ())
{
SetRouterStatus (eRouterStatusFirewalled);
if (m_Address->IsV4 ())