tap initialization patch
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user