Minor Windows build fixes. Builds on VS2012 again.

This commit is contained in:
Adam Ierymenko 2015-11-12 16:48:42 -08:00
parent bacb53fe8f
commit 54f68280bd
5 changed files with 28 additions and 16 deletions

View file

@ -796,7 +796,7 @@ public:
while (ua) {
InetAddress ip(ua->Address.lpSockaddr);
ip.setPort(_port);
_node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&ip),0,ZT_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL);
_node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&ip));
ua = ua->Next;
}
}