Browse Source

flush IBGW if tunnel build request OBEP is on the same router

pull/2028/head
orignal 10 months ago
parent
commit
821a76a7c5
  1. 3
      libi2pd/I2NPProtocol.cpp

3
libi2pd/I2NPProtocol.cpp

@ -675,7 +675,10 @@ namespace i2p @@ -675,7 +675,10 @@ namespace i2p
uint32_t tunnelID = bufbe32toh (clearText + SHORT_REQUEST_RECORD_NEXT_TUNNEL_OFFSET);
auto tunnel = i2p::tunnel::tunnels.GetTunnel (tunnelID);
if (tunnel)
{
tunnel->SendTunnelDataMsg (replyMsg);
tunnel->FlushTunnelDataMsgs ();
}
else
LogPrint (eLogWarning, "I2NP: Tunnel ", tunnelID, " not found for short tunnel build reply");
}

Loading…
Cancel
Save