Browse Source

set msg type for deliverystatus

pull/1499/head
orignal 5 years ago
parent
commit
5da92437a1
  1. 1
      libi2pd/ECIESX25519AEADRatchetSession.cpp

1
libi2pd/ECIESX25519AEADRatchetSession.cpp

@ -552,6 +552,7 @@ namespace garlic @@ -552,6 +552,7 @@ namespace garlic
LogPrint (eLogError, "Garlic: No inbound tunnels in the pool for DeliveryStatus");
return 0;
}
*buf = msg->GetTypeID (); // I2NP msg type
htobe32buf (buf + 1, msg->GetMsgID ()); // msgID
htobe32buf (buf + 5, msg->GetExpiration ()/1000); // expiration in seconds
memcpy (buf + 9, msg->GetPayload (), msg->GetPayloadLength ());

Loading…
Cancel
Save