mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-31 00:23:58 +00:00
Removed debug line
This commit is contained in:
parent
b7b014298b
commit
398e0b7c63
@ -427,8 +427,6 @@ void NetconEthernetTap::phyOnUnixWritable(PhySocket *sock,void **uptr,bool lwip_
|
|||||||
}
|
}
|
||||||
TcpConnection *conn = getConnection(sock);
|
TcpConnection *conn = getConnection(sock);
|
||||||
if(conn && conn->rxsz) {
|
if(conn && conn->rxsz) {
|
||||||
dwr(MSG_DEBUG,"phyWritable(): conn->sock = %x, conn->rxbuf = %x, conn->rxsz = %d\n", conn->sock, conn->rxbuf, conn->rxsz);
|
|
||||||
|
|
||||||
int n = _phy.streamSend(conn->sock, conn->rxbuf, conn->rxsz);
|
int n = _phy.streamSend(conn->sock, conn->rxbuf, conn->rxsz);
|
||||||
if(n > 0) {
|
if(n > 0) {
|
||||||
if(conn->rxsz-n > 0)
|
if(conn->rxsz-n > 0)
|
||||||
@ -436,7 +434,7 @@ void NetconEthernetTap::phyOnUnixWritable(PhySocket *sock,void **uptr,bool lwip_
|
|||||||
conn->rxsz -= n;
|
conn->rxsz -= n;
|
||||||
lwipstack->_tcp_recved(conn->pcb, n);
|
lwipstack->_tcp_recved(conn->pcb, n);
|
||||||
} else {
|
} else {
|
||||||
dwr(MSG_ERROR," phyOnUnixWritable(): errno = %d, rxsz = %d\n", errno, conn->rxsz);
|
dwr(MSG_DEBUG," phyOnUnixWritable(): errno = %d, rxsz = %d\n", errno, conn->rxsz);
|
||||||
_phy.setNotifyWritable(conn->sock, false);
|
_phy.setNotifyWritable(conn->sock, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user