tap initialization patch

This commit is contained in:
Joseph Henry
2017-08-24 14:26:09 -07:00
parent 9c901350b3
commit a723c70feb
2 changed files with 2 additions and 3 deletions

View File

@@ -638,7 +638,7 @@ int zts_bind(ZT_BIND_SIG) {
} }
// detect local interface binds // detect local interface binds
ZeroTier::VirtualTap *tap; ZeroTier::VirtualTap *tap = NULL;
if(vs->socket_family == AF_INET) { if(vs->socket_family == AF_INET) {
struct sockaddr_in *in4 = (struct sockaddr_in *)addr; struct sockaddr_in *in4 = (struct sockaddr_in *)addr;

View File

@@ -1546,9 +1546,8 @@ void* create_socket(void *arg)
} }
for(i=0; i<(0xFFFFFFFF);i++); for(i=0; i<(0xFFFFFFFF);i++);
*/
return NULL; return NULL;
*/
} }