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