create data message inside detination

This commit is contained in:
orignal 2014-10-07 14:06:50 -04:00
parent df518ac5fd
commit 9f1e496fa4
3 changed files with 26 additions and 27 deletions

View file

@ -426,7 +426,7 @@ namespace stream
for (auto it: packets)
{
auto msg = m_RoutingSession->WrapSingleMessage (
CreateDataMessage (this, it->GetBuffer (), it->GetLength ()),
m_LocalDestination.CreateDataMessage (it->GetBuffer (), it->GetLength ()),
leaseSet);
msgs.push_back (i2p::tunnel::TunnelMessageBlock
{