ok let's do this

This commit is contained in:
Rick 2018-12-17 19:00:44 -06:00
parent 74dcbf8772
commit 6040ab8c63
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465

View File

@ -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
{ {