Fix addLocalInterfaceAddress call in OneService on Windows

This commit is contained in:
Grant Limberg 2015-07-16 19:20:43 -07:00
parent 0db7c94c90
commit 5ef806c43c

View File

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