check for duplicated routers in NTCP2. Insert router into netdb right a way

This commit is contained in:
orignal 2024-09-05 19:24:23 -04:00
parent 9a77c0a4b1
commit fde301deaf
3 changed files with 32 additions and 12 deletions

View file

@ -141,10 +141,6 @@ namespace data
case eI2NPDatabaseLookup:
HandleDatabaseLookupMsg (msg);
break;
case eI2NPDummyMsg:
// plain RouterInfo from NTCP2 with flags for now
HandleNTCP2RouterInfoMsg (msg);
break;
default: // WTF?
LogPrint (eLogError, "NetDb: Unexpected message type ", (int) msg->GetTypeID ());
//i2p::HandleI2NPMessage (msg);