mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
include DeliveryStatus to Garlic
This commit is contained in:
parent
3aab091e9f
commit
57c97208f9
7 changed files with 93 additions and 14 deletions
|
@ -67,7 +67,7 @@ namespace i2p
|
|||
return msg;
|
||||
}
|
||||
|
||||
I2NPMessage * CreateDeliveryStatusMsg ()
|
||||
I2NPMessage * CreateDeliveryStatusMsg (uint32_t msgID)
|
||||
{
|
||||
#pragma pack(1)
|
||||
struct
|
||||
|
@ -77,7 +77,7 @@ namespace i2p
|
|||
} msg;
|
||||
#pragma pack ()
|
||||
|
||||
msg.msgID = 0;
|
||||
msg.msgID = htobe32 (msgID);
|
||||
msg.timestamp = htobe64 (i2p::util::GetMillisecondsSinceEpoch ());
|
||||
return CreateI2NPMessage (eI2NPDeliveryStatus, (uint8_t *)&msg, sizeof (msg));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue