inbound zero-hops tunnel

This commit is contained in:
orignal 2016-03-02 16:12:02 -05:00
parent 81b72d5481
commit fa67e90767
3 changed files with 35 additions and 7 deletions

View file

@ -200,6 +200,12 @@ namespace tunnel
m_Endpoint.HandleDecryptedTunnelDataMsg (newMsg);
}
void InboundTunnel::SendTunnelDataMsg (std::shared_ptr<i2p::I2NPMessage> msg)
{
// assume zero-hops tunnel
m_Endpoint.HandleDecryptedTunnelDataMsg (msg);
}
void InboundTunnel::Print (std::stringstream& s) const
{
PrintHops (s);