Browse Source

Fix addLocalInterfaceAddress call in OneService on Windows

Grant Limberg 10 years ago
parent
commit
5ef806c43c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/OneService.cpp

+ 1 - 1
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;
 								}
 							}