send PeerTest if partly has 'B' capability only

This commit is contained in:
orignal 2014-04-10 14:46:52 -04:00
parent 9c7039cf78
commit c9c38cccf6

View file

@ -565,7 +565,7 @@ namespace ssu
Send (it); Send (it);
m_DelayedMessages.clear (); m_DelayedMessages.clear ();
} }
if (m_PeerTest) if (m_PeerTest && (m_RemoteRouter && m_RemoteRouter->IsPeerTesting ()))
SendPeerTest (); SendPeerTest ();
ScheduleTermination (); ScheduleTermination ();
} }