瀏覽代碼

No Whack!

Joseph Henry 10 年之前
父節點
當前提交
6600b005b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      netcon/NetconEthernetTap.cpp

+ 1 - 1
netcon/NetconEthernetTap.cpp

@@ -657,7 +657,7 @@ err_t NetconEthernetTap::nc_sent(void* arg, struct tcp_pcb *tpcb, u16_t len)
 	if(len) {
 	if(len) {
 		//fprintf(stderr, "ACKING len = %d, setting read-notify = true, (sndbuf = %d)\n", len, l->conn->pcb->snd_buf);
 		//fprintf(stderr, "ACKING len = %d, setting read-notify = true, (sndbuf = %d)\n", len, l->conn->pcb->snd_buf);
 		l->tap->_phy.setNotifyReadable(l->conn->dataSock, true);
 		l->tap->_phy.setNotifyReadable(l->conn->dataSock, true);
-		l->tap->_phy.whack();
+		//l->tap->_phy.whack();
 		//l->tap->handle_write(l->conn);
 		//l->tap->handle_write(l->conn);
 	}
 	}
 	return ERR_OK;
 	return ERR_OK;