show streams as table (byt sha-db)

This commit is contained in:
orignal 2016-01-17 11:10:56 -05:00
parent a85d3f2573
commit b6dcb2f4c0
2 changed files with 124 additions and 91 deletions

View file

@ -186,7 +186,7 @@ namespace tunnel
{
for (auto& it: m_Hops)
{
s << "-->";
s << "";
s << i2p::data::GetIdentHashAbbreviation (it->ident->GetIdentHash ());
}
}
@ -203,7 +203,7 @@ namespace tunnel
void InboundTunnel::Print (std::stringstream& s) const
{
PrintHops (s);
s << "-->" << GetTunnelID () << ":me";
s << "" << GetTunnelID () << ":me";
}
void OutboundTunnel::SendTunnelDataMsg (const uint8_t * gwHash, uint32_t gwTunnel, std::shared_ptr<i2p::I2NPMessage> msg)
@ -245,7 +245,7 @@ namespace tunnel
{
s << GetTunnelID () << ":me";
PrintHops (s);
s << "-->";
s << "";
}
Tunnels tunnels;
@ -787,3 +787,4 @@ namespace tunnel
}
}
}