Browse Source

don't handle unsilicited HolePunch

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

1
libi2pd/SSU.cpp

@ -393,6 +393,7 @@ 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");
} }
} }
if (session)
session->ProcessNextMessage (packet->buf, packet->len, packet->from); session->ProcessNextMessage (packet->buf, packet->len, packet->from);
} }
catch (std::exception& ex) catch (std::exception& ex)

Loading…
Cancel
Save