summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-07-16 19:20:43 -0700
committerGrant Limberg <glimberg@gmail.com>2015-07-16 19:20:43 -0700
commit5ef806c43c394f94a6bc7d0080516dcb5f189398 (patch)
tree123f5f1c24540f5103bbcc8bd10f146900641a53
parent0db7c94c9004ac488b6163905d80f7515141d9c6 (diff)
downloadinfinitytier-5ef806c43c394f94a6bc7d0080516dcb5f189398.tar.gz
infinitytier-5ef806c43c394f94a6bc7d0080516dcb5f189398.zip
Fix addLocalInterfaceAddress call in OneService on Windows
-rw-r--r--service/OneService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 312e0bf2..d582a893 100644
--- a/service/OneService.cpp
+++ b/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;
}
}