From 770452cf854fe52ca35ed644ab31d03cdeebe05d Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 3 Sep 2014 13:10:30 -0400 Subject: [PATCH] network bytes order for timestamp --- I2NPProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I2NPProtocol.cpp b/I2NPProtocol.cpp index b8240fd3..427aa79a 100644 --- a/I2NPProtocol.cpp +++ b/I2NPProtocol.cpp @@ -264,7 +264,7 @@ namespace i2p if (isEndpoint) clearText.flag |= 0x40; memcpy (clearText.ourIdent, ourIdent, 32); memcpy (clearText.nextIdent, nextIdent, 32); - clearText.requestTime = i2p::util::GetHoursSinceEpoch (); + clearText.requestTime = htobe32 (i2p::util::GetHoursSinceEpoch ()); clearText.nextMessageID = htobe32(nextMessageID); return clearText; }