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
ZeroTier::VirtualTap *tap;
ZeroTier::VirtualTap *tap = NULL;
if(vs->socket_family == AF_INET) {
struct sockaddr_in *in4 = (struct sockaddr_in *)addr;