Skip to content

Commit

Permalink
flush IBGW if tunnel build request OBEP is on the same router
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Feb 25, 2024
1 parent 3415459 commit 821a76a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libi2pd/I2NPProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 821a76a

Please sign in to comment.