mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
ok let's do this
This commit is contained in:
parent
74dcbf8772
commit
6040ab8c63
@ -279,7 +279,7 @@ tun_ev_loop(void* unused)
|
|||||||
//llarp::LogInfo("read tun ", size, " bytes, pass to handler");
|
//llarp::LogInfo("read tun ", size, " bytes, pass to handler");
|
||||||
if(ev->t->recvpkt)
|
if(ev->t->recvpkt)
|
||||||
ev->t->recvpkt(ev->t, llarp::InitBuffer(pkt->buf, size));
|
ev->t->recvpkt(ev->t, llarp::InitBuffer(pkt->buf, size));
|
||||||
ev->read(ev->readbuf, sizeof(ev->readbuf));
|
ev->flush_write();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user