mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
handle RouterInfo from NTCP2 in netdb's thread
This commit is contained in:
parent
588d64a30b
commit
d7081c5f23
3 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue