mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
correct flags
This commit is contained in:
parent
6fee2d3536
commit
7b6814e32d
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ namespace data
|
||||||
auto timestamp = i2p::util::GetSecondsSinceEpoch ();
|
auto timestamp = i2p::util::GetSecondsSinceEpoch ();
|
||||||
htobe32buf (m_Buffer + offset, timestamp); offset += 4; // published timestamp (seconds)
|
htobe32buf (m_Buffer + offset, timestamp); offset += 4; // published timestamp (seconds)
|
||||||
uint8_t * expiresBuf = m_Buffer + offset; offset += 2; // expires, fill later
|
uint8_t * expiresBuf = m_Buffer + offset; offset += 2; // expires, fill later
|
||||||
htobe16buf (m_Buffer + offset, 0); offset += 2; // flags
|
htobe16buf (m_Buffer + offset, flags); offset += 2; // flags
|
||||||
if (keys.IsOfflineSignature ())
|
if (keys.IsOfflineSignature ())
|
||||||
{
|
{
|
||||||
// offline signature
|
// offline signature
|
||||||
|
|
Loading…
Add table
Reference in a new issue