mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
correct parsing of caught RouterInfo at IBGW and OBEP
This commit is contained in:
@@ -331,7 +331,7 @@ namespace tunnel
|
||||
else if (IsRouterInfoMsg (msg.data))
|
||||
{
|
||||
auto m = CopyI2NPMessage (msg.data);
|
||||
memset (m->GetPayload () + DATABASE_STORE_REPLY_TOKEN_OFFSET, 0, 4); // no reply
|
||||
memset (m->GetPayload () + DATABASE_STORE_REPLY_TOKEN_OFFSET, 0xFF, 4); // fake replyToken meaning no reply
|
||||
i2p::data::netdb.PostI2NPMsg (m);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user