mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
more
This commit is contained in:
parent
15883edfaf
commit
ffea4b575e
@ -256,10 +256,7 @@ namespace llarp
|
||||
tick() override
|
||||
{
|
||||
if(t->tick)
|
||||
{
|
||||
llarp::LogInfo("tick tun");
|
||||
t->tick(t);
|
||||
}
|
||||
flush_write();
|
||||
return true;
|
||||
}
|
||||
@ -278,7 +275,10 @@ namespace llarp
|
||||
{
|
||||
buf += offset;
|
||||
ret -= offset;
|
||||
t->recvpkt(t, llarp::InitBuffer(buf, ret));
|
||||
llarp::LogInfo("read ", ret, " of ", sz);
|
||||
auto pkt = llarp::InitBuffer(buf, ret);
|
||||
llarp::DumpBuffer(pkt);
|
||||
t->recvpkt(t, pkt);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user