mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
fixed incorrect PeerTest
This commit is contained in:
parent
3c610fa952
commit
d1ae603b93
1 changed files with 1 additions and 1 deletions
2
SSU.cpp
2
SSU.cpp
|
@ -827,7 +827,7 @@ namespace ssu
|
||||||
uint32_t nonce = i2p::context.GetRandomNumberGenerator ().GenerateWord32 ();
|
uint32_t nonce = i2p::context.GetRandomNumberGenerator ().GenerateWord32 ();
|
||||||
if (!nonce) nonce = 1;
|
if (!nonce) nonce = 1;
|
||||||
m_PeerTestNonces.insert (nonce);
|
m_PeerTestNonces.insert (nonce);
|
||||||
SendPeerTest (nonce, 0, 0, address->key, true); // address and port always zero for Alice
|
SendPeerTest (nonce, 0, 0, address->key, false); // address and port always zero for Alice
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue