check if remote router supports peer test

This commit is contained in:
orignal committed 2024-03-02 18:02:55 -05:00
1 parent 2f2f14e3a7
commit 1292ec67c0
2 files changed
+6 -3

No files matched your search

+1 -1
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 ())