[tunnels] count outbound traffic for zero-hop tunnels
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
@@ -328,10 +328,11 @@ namespace tunnel
|
||||
for (auto& msg : msgs)
|
||||
{
|
||||
if (!msg.data) continue;
|
||||
m_NumSentBytes += msg.data->GetLength ();
|
||||
switch (msg.deliveryType)
|
||||
{
|
||||
case eDeliveryTypeLocal:
|
||||
i2p::HandleI2NPMessage (msg.data);
|
||||
HandleI2NPMessage (msg.data);
|
||||
break;
|
||||
case eDeliveryTypeTunnel:
|
||||
i2p::transport::transports.SendMessage (msg.hash, i2p::CreateTunnelGatewayMsg (msg.tunnelID, msg.data));
|
||||
|
Reference in New Issue
Block a user