mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +02:00
Fix addLocalInterfaceAddress call in OneService on Windows
This commit is contained in:
parent
0db7c94c90
commit
5ef806c43c
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ public:
|
|||
while (ua) {
|
||||
InetAddress ip(ua->Address.lpSockaddr);
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue