Browse Source

Fix addLocalInterfaceAddress call in OneService on Windows

pull/1/head
Grant Limberg 11 years ago
parent
commit
5ef806c43c
  1. 2
      service/OneService.cpp

2
service/OneService.cpp

@ -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…
Cancel
Save