correct parsing of caught RouterInfo at IBGW and OBEP

This commit is contained in:
orignal 2023-04-27 21:37:30 -04:00
parent 0ce15ffc91
commit ead6a6dca3
3 changed files with 16 additions and 13 deletions

View file

@ -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);
}
}