mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't pass from to HandleI2NPMessage
This commit is contained in:
parent
4afef91359
commit
0007f304d0
6 changed files with 11 additions and 11 deletions
|
@ -27,7 +27,7 @@ namespace i2p
|
|||
void RouterContext::Init ()
|
||||
{
|
||||
srand (i2p::util::GetMillisecondsSinceEpoch () % 1000);
|
||||
m_StartupTime = std::chrono::steady_clock::now();
|
||||
m_StartupTime = std::chrono::steady_clock::now();
|
||||
|
||||
if (!Load ())
|
||||
CreateNewRouter ();
|
||||
|
@ -692,9 +692,9 @@ namespace i2p
|
|||
return i2p::tunnel::tunnels.GetExploratoryPool ();
|
||||
}
|
||||
|
||||
void RouterContext::HandleI2NPMessage (const uint8_t * buf, size_t len, std::shared_ptr<i2p::tunnel::InboundTunnel> from)
|
||||
void RouterContext::HandleI2NPMessage (const uint8_t * buf, size_t len)
|
||||
{
|
||||
i2p::HandleI2NPMessage (CreateI2NPMessage (buf, GetI2NPMessageLength (buf, len), from));
|
||||
i2p::HandleI2NPMessage (CreateI2NPMessage (buf, GetI2NPMessageLength (buf, len)));
|
||||
}
|
||||
|
||||
void RouterContext::ProcessGarlicMessage (std::shared_ptr<I2NPMessage> msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue