1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-31 00:34:20 +00:00

don't handle unsilicited HolePunch

This commit is contained in:
orignal 2021-03-29 15:50:33 -04:00
parent 8462d382f4
commit 5cca5472e6

View File

@ -393,7 +393,8 @@ namespace transport
LogPrint (eLogDebug, "SSU: new session from ", packet->from.address ().to_string (), ":", packet->from.port (), " created"); LogPrint (eLogDebug, "SSU: new session from ", packet->from.address ().to_string (), ":", packet->from.port (), " created");
} }
} }
session->ProcessNextMessage (packet->buf, packet->len, packet->from); if (session)
session->ProcessNextMessage (packet->buf, packet->len, packet->from);
} }
catch (std::exception& ex) catch (std::exception& ex)
{ {