Browse Source

clean transit tunnels endpoints

pull/791/head
orignal 8 years ago
parent
commit
bdcbaa031d
  1. 2
      TransitTunnel.h

2
TransitTunnel.h

@ -85,6 +85,8 @@ namespace tunnel @@ -85,6 +85,8 @@ namespace tunnel
TransitTunnel (receiveTunnelID, nextIdent, nextTunnelID, layerKey, ivKey),
m_Endpoint (false) {}; // transit endpoint is always outbound
void Cleanup () { m_Endpoint.Cleanup (); }
void HandleTunnelDataMsg (std::shared_ptr<const i2p::I2NPMessage> tunnelMsg);
size_t GetNumTransmittedBytes () const { return m_Endpoint.GetNumReceivedBytes (); }

Loading…
Cancel
Save