mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 06:54:15 +00:00
update logging
This commit is contained in:
parent
f2dde98e2f
commit
14f2b24b16
@ -442,7 +442,7 @@ namespace tunnel
|
|||||||
if (msg)
|
if (msg)
|
||||||
{
|
{
|
||||||
uint32_t prevTunnelID = 0, tunnelID = 0;
|
uint32_t prevTunnelID = 0, tunnelID = 0;
|
||||||
std::shared_ptr<TunnelBase> prevTunnel;
|
std::shared_ptr<TunnelBase> prevTunnel;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
std::shared_ptr<TunnelBase> tunnel;
|
std::shared_ptr<TunnelBase> tunnel;
|
||||||
@ -457,8 +457,7 @@ namespace tunnel
|
|||||||
tunnel = prevTunnel;
|
tunnel = prevTunnel;
|
||||||
else if (prevTunnel)
|
else if (prevTunnel)
|
||||||
prevTunnel->FlushTunnelDataMsgs ();
|
prevTunnel->FlushTunnelDataMsgs ();
|
||||||
else
|
|
||||||
LogPrint(eLogWarning, "Tunnel: no previous tunnel, prevTunnelID=", prevTunnelID, "tunnelID=", tunnelID, "type=", (int)typeID);
|
|
||||||
if (!tunnel)
|
if (!tunnel)
|
||||||
tunnel = GetTunnel (tunnelID);
|
tunnel = GetTunnel (tunnelID);
|
||||||
if (tunnel)
|
if (tunnel)
|
||||||
@ -469,7 +468,8 @@ namespace tunnel
|
|||||||
HandleTunnelGatewayMsg (tunnel, msg);
|
HandleTunnelGatewayMsg (tunnel, msg);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint (eLogWarning, "Tunnel: tunnel with id ", tunnelID, " not found, type=", (int)typeID);
|
LogPrint (eLogWarning, "Tunnel: tunnel not found, tunnelID=", tunnelID, " previousTunnelID=", prevTunnelID, " type=", (int)typeID);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case eI2NPVariableTunnelBuild:
|
case eI2NPVariableTunnelBuild:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user