diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 15:00:16 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 15:00:16 -0700 |
| commit | 16bc3e03982286232e1df2da17d8b2fc3c5a5c55 (patch) | |
| tree | 3a506566a945a8dec8e8fb5094a9d0d5f9e91f95 /service | |
| parent | 40976c02a42b8e9078519f92a7c7412b8464e9bc (diff) | |
| download | infinitytier-16bc3e03982286232e1df2da17d8b2fc3c5a5c55.tar.gz infinitytier-16bc3e03982286232e1df2da17d8b2fc3c5a5c55.zip | |
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
Diffstat (limited to 'service')
| -rw-r--r-- | service/OneService.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 1765b5c4..4e3f24c7 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -731,7 +731,7 @@ public: #ifdef ZT_USE_MINIUPNPC std::vector<InetAddress> upnpAddresses(_upnpClient->get()); for(std::vector<InetAddress>::const_iterator ext(upnpAddresses.begin());ext!=upnpAddresses.end();++ext) - _node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&(*ext)),0,ZT_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL); + _node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&(*ext)),ZT_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL); #endif struct ifaddrs *ifatbl = (struct ifaddrs *)0; @@ -749,7 +749,7 @@ public: if (!isZT) { InetAddress ip(ifa->ifa_addr); ip.setPort(_port); - _node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&ip),0,ZT_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL); + _node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&ip),ZT_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL); } } ifa = ifa->ifa_next; |
