Browse Source

don't handle unsilicited HolePunch

pull/1645/head
orignal 4 years ago
parent
commit
5cca5472e6
  1. 3
      libi2pd/SSU.cpp

3
libi2pd/SSU.cpp

@ -393,7 +393,8 @@ namespace transport @@ -393,7 +393,8 @@ namespace transport
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)
{

Loading…
Cancel
Save