mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-16 10:03:14 -07:00
Minor cleanup
This commit is contained in:
parent
7f56678d84
commit
3bcb6bf321
9 changed files with 443 additions and 97 deletions
|
@ -30,7 +30,6 @@
|
|||
#include <algorithm>
|
||||
#include <utility>
|
||||
#include <dlfcn.h>
|
||||
//#include <sys/types.h>
|
||||
|
||||
#include "NetconEthernetTap.hpp"
|
||||
|
||||
|
@ -634,7 +633,7 @@ err_t NetconEthernetTap::nc_poll(void* arg, struct tcp_pcb *tpcb)
|
|||
NetconEthernetTap *tap = l->tap;
|
||||
if(conn && conn->idx) // if valid connection and non-zero index (indicating data present)
|
||||
tap->handle_write(conn);
|
||||
|
||||
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue