This commit is contained in:
Jeff Becker 2018-12-15 12:08:26 -05:00
parent 15883edfaf
commit ffea4b575e
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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;
}