mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-18 05:11:48 +02:00
handle I2NP message per destination
This commit is contained in:
parent
6d6c81bf8b
commit
202109ebeb
8 changed files with 28 additions and 14 deletions
|
@ -508,7 +508,7 @@ namespace i2p
|
|||
}
|
||||
}
|
||||
|
||||
size_t GetI2NPMessageLength (uint8_t * msg)
|
||||
size_t GetI2NPMessageLength (const uint8_t * msg)
|
||||
{
|
||||
I2NPHeader * header = (I2NPHeader *)msg;
|
||||
return be16toh (header->size) + sizeof (I2NPHeader);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue