diff options
author | Joseph Henry <josephjah@gmail.com> | 2015-12-14 09:06:58 -0800 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2015-12-14 09:06:58 -0800 |
commit | f558b088e6c62c3531ce3e85f28c9284f0898971 (patch) | |
tree | 7bc1dacd36b1693866afa4c3e8e27ca6d7d3de40 /netcon/NetconEthernetTap.cpp | |
parent | 99afc740215b84858d272642c62cacbc7f07e990 (diff) | |
download | infinitytier-f558b088e6c62c3531ce3e85f28c9284f0898971.tar.gz infinitytier-f558b088e6c62c3531ce3e85f28c9284f0898971.zip |
Library functions are now static, RPC return value tuning, and cleanup
Diffstat (limited to 'netcon/NetconEthernetTap.cpp')
-rw-r--r-- | netcon/NetconEthernetTap.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/netcon/NetconEthernetTap.cpp b/netcon/NetconEthernetTap.cpp index 7d68f528..609e2923 100644 --- a/netcon/NetconEthernetTap.cpp +++ b/netcon/NetconEthernetTap.cpp @@ -581,7 +581,6 @@ void NetconEthernetTap::threadMain() } } } - //dwr(4, " tap_thread(): tcp_conns = %d, rpc_socks = %d\n", tcp_connections.size(), rpc_sockets.size()); for(size_t i=0, associated = 0; i<rpc_sockets.size(); i++, associated = 0) { for(size_t j=0; j<tcp_connections.size(); j++) { if (tcp_connections[j]->rpcSock == rpc_sockets[i]) @@ -898,7 +897,7 @@ err_t NetconEthernetTap::nc_recved(void *arg, struct tcp_pcb *tpcb, struct pbuf if(p == NULL) { if(l->conn && !l->conn->listening) { dwr(MSG_INFO, " nc_recved(): closing connection\n"); - // l->tap->closeConnection(l->conn); + l->tap->closeConnection(l->conn); return ERR_ABRT; } else { |