This commit is contained in:
dr|z3d 2021-09-04 09:59:16 +00:00
commit 3b35ccb8a0
4 changed files with 84 additions and 39 deletions

View file

@ -888,7 +888,8 @@ namespace client
LogPrint(eLogInfo, "UDPServer: Done");
}
void I2PUDPServerTunnel::Start() {
void I2PUDPServerTunnel::Start()
{
m_LocalDest->Start();
}
@ -1065,7 +1066,8 @@ namespace client
LogPrint(eLogWarning, "UDP Client: Not tracking UDP session using port ", (int) toPort);
}
I2PUDPClientTunnel::~I2PUDPClientTunnel() {
I2PUDPClientTunnel::~I2PUDPClientTunnel()
{
auto dgram = m_LocalDest->GetDatagramDestination();
if (dgram) dgram->ResetReceiver();