mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-20 10:29:57 +00:00
flush IBGW if tunnel build request OBEP is on the same router
This commit is contained in:
parent
34154596f2
commit
821a76a7c5
@ -675,7 +675,10 @@ namespace i2p
|
|||||||
uint32_t tunnelID = bufbe32toh (clearText + SHORT_REQUEST_RECORD_NEXT_TUNNEL_OFFSET);
|
uint32_t tunnelID = bufbe32toh (clearText + SHORT_REQUEST_RECORD_NEXT_TUNNEL_OFFSET);
|
||||||
auto tunnel = i2p::tunnel::tunnels.GetTunnel (tunnelID);
|
auto tunnel = i2p::tunnel::tunnels.GetTunnel (tunnelID);
|
||||||
if (tunnel)
|
if (tunnel)
|
||||||
|
{
|
||||||
tunnel->SendTunnelDataMsg (replyMsg);
|
tunnel->SendTunnelDataMsg (replyMsg);
|
||||||
|
tunnel->FlushTunnelDataMsgs ();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
LogPrint (eLogWarning, "I2NP: Tunnel ", tunnelID, " not found for short tunnel build reply");
|
LogPrint (eLogWarning, "I2NP: Tunnel ", tunnelID, " not found for short tunnel build reply");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user