mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
don't send DatabaseStore reply for local destinations
This commit is contained in:
parent
79af7c22d9
commit
9a43f0d54c
|
@ -216,8 +216,11 @@ namespace client
|
|||
{
|
||||
uint32_t replyToken = bufbe32toh (buf + DATABASE_STORE_REPLY_TOKEN_OFFSET);
|
||||
size_t offset = DATABASE_STORE_HEADER_SIZE;
|
||||
if (replyToken) // TODO:
|
||||
if (replyToken)
|
||||
{
|
||||
LogPrint (eLogInfo, "Reply token is ignored for DatabaseStore");
|
||||
offset += 36;
|
||||
}
|
||||
if (buf[DATABASE_STORE_TYPE_OFFSET] == 1) // LeaseSet
|
||||
{
|
||||
LogPrint (eLogDebug, "Remote LeaseSet");
|
||||
|
|
Loading…
Reference in a new issue