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