mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
set SessionCreated state
This commit is contained in:
parent
303855f59a
commit
7300792033
2 changed files with 2 additions and 3 deletions
|
@ -77,8 +77,7 @@ namespace i2p
|
|||
}
|
||||
else // for SSU establishment
|
||||
{
|
||||
auto rnd = i2p::context.GetRandomNumberGenerator ();
|
||||
msg.msgID = htobe32 (rnd.GenerateWord32 ());
|
||||
msg.msgID = htobe32 (i2p::context.GetRandomNumberGenerator ().GenerateWord32 ());
|
||||
msg.timestamp = htobe64 (2); // netID = 2
|
||||
}
|
||||
return CreateI2NPMessage (eI2NPDeliveryStatus, (uint8_t *)&msg, sizeof (msg));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue