handle RouterInfo from NTCP2 in netdb's thread

This commit is contained in:
orignal 2018-11-14 20:52:54 -05:00
parent 588d64a30b
commit d7081c5f23
3 changed files with 7 additions and 3 deletions

View file

@ -98,6 +98,10 @@ namespace data
case eI2NPDatabaseLookup:
HandleDatabaseLookupMsg (msg);
break;
case eI2NPDummyMsg:
// plain RouterInfo from NTCP2 for now
AddRouterInfo (msg->GetPayload (), msg->GetPayloadLength ());
break;
default: // WTF?
LogPrint (eLogError, "NetDb: unexpected message type ", (int) msg->GetTypeID ());
//i2p::HandleI2NPMessage (msg);