send PeerTest if partly has 'B' capability only

This commit is contained in:
orignal committed 2014-04-10 14:46:52 -04:00
1 parent 9c7039cf78
commit c9c38cccf6
1 file changed
+1 -1
+1 -1
View File
@@ -565,7 +565,7 @@ namespace ssu
Send (it);
m_DelayedMessages.clear ();
}
if (m_PeerTest)
if (m_PeerTest && (m_RemoteRouter && m_RemoteRouter->IsPeerTesting ()))
SendPeerTest ();
ScheduleTermination ();
}