mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
network bytes order for timestamp
This commit is contained in:
parent
99f57b373f
commit
770452cf85
@ -264,7 +264,7 @@ namespace i2p
|
|||||||
if (isEndpoint) clearText.flag |= 0x40;
|
if (isEndpoint) clearText.flag |= 0x40;
|
||||||
memcpy (clearText.ourIdent, ourIdent, 32);
|
memcpy (clearText.ourIdent, ourIdent, 32);
|
||||||
memcpy (clearText.nextIdent, nextIdent, 32);
|
memcpy (clearText.nextIdent, nextIdent, 32);
|
||||||
clearText.requestTime = i2p::util::GetHoursSinceEpoch ();
|
clearText.requestTime = htobe32 (i2p::util::GetHoursSinceEpoch ());
|
||||||
clearText.nextMessageID = htobe32(nextMessageID);
|
clearText.nextMessageID = htobe32(nextMessageID);
|
||||||
return clearText;
|
return clearText;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user