diff options
| author | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-10 20:22:35 -0400 |
|---|---|---|
| committer | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-10 20:22:35 -0400 |
| commit | e4dc46741f7fee7b255d484a6493dbfd27c3abbf (patch) | |
| tree | ff699a757146a663d00c0d5a4fe8188cffe1a6b4 /netcon/NetconUtilities.cpp | |
| parent | 20beafedc5e62fdd1b6f7d93c735b7a17c4374bb (diff) | |
| download | infinitytier-e4dc46741f7fee7b255d484a6493dbfd27c3abbf.tar.gz infinitytier-e4dc46741f7fee7b255d484a6493dbfd27c3abbf.zip | |
compiles, technically
Diffstat (limited to 'netcon/NetconUtilities.cpp')
| -rw-r--r-- | netcon/NetconUtilities.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/netcon/NetconUtilities.cpp b/netcon/NetconUtilities.cpp index bb870669..90175a8d 100644 --- a/netcon/NetconUtilities.cpp +++ b/netcon/NetconUtilities.cpp @@ -9,6 +9,7 @@ namespace ZeroTier { + /* ip_addr_t convert_ip(struct sockaddr_in * addr) { ip_addr_t conn_addr; @@ -20,7 +21,7 @@ namespace ZeroTier IP4_ADDR(&conn_addr, a,b,c,d); return conn_addr; } - +*/ ip_addr_t ip_addr_sin(register struct sockaddr_in *sin) { ip_addr_t ip; *((struct sockaddr_in*) &ip) = *sin; @@ -29,9 +30,6 @@ namespace ZeroTier // Functions used to pass file descriptors between processes - ssize_t sock_fd_write(int sock, int fd); - ssize_t sock_fd_read(int sock, void *buf, ssize_t bufsize, int *fd); - ssize_t sock_fd_write(int sock, int fd) { ssize_t size; |
