PeerTest from Charlie to Alice

This commit is contained in:
orignal 2014-09-22 19:03:46 -04:00
parent 4fc3b8026a
commit 71168389ab

View file

@ -790,6 +790,8 @@ namespace ssu
} }
} }
else else
{
if (m_State == eSessionStateEstablished)
{ {
// new test // new test
m_PeerTestNonces.insert (nonce); m_PeerTestNonces.insert (nonce);
@ -808,6 +810,9 @@ namespace ssu
senderEndpoint.port (), introKey, false); senderEndpoint.port (), introKey, false);
} }
} }
else
LogPrint ("SSU peer test from Charlie. We are Alice");
}
} }
void SSUSession::SendPeerTest (uint32_t nonce, uint32_t address, uint16_t port, void SSUSession::SendPeerTest (uint32_t nonce, uint32_t address, uint16_t port,