From 821a76a7c5d3d58cc5e213ad61a57f7bc1b7703a Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 25 Feb 2024 09:15:08 -0500 Subject: [PATCH] flush IBGW if tunnel build request OBEP is on the same router --- libi2pd/I2NPProtocol.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libi2pd/I2NPProtocol.cpp b/libi2pd/I2NPProtocol.cpp index 49b5120c..da6da638 100644 --- a/libi2pd/I2NPProtocol.cpp +++ b/libi2pd/I2NPProtocol.cpp @@ -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"); }