Browse Source

Removed debug line

Joseph Henry 9 years ago
parent
commit
398e0b7c63
1 changed files with 1 additions and 3 deletions
  1. 1 3
      netcon/NetconEthernetTap.cpp

+ 1 - 3
netcon/NetconEthernetTap.cpp

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