summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-29 09:42:15 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-29 09:42:15 -0700
commita994573a436ec2835781d13ecd2307e18c67855b (patch)
tree9c37bfb3318022fd8bd159e092ec4d9cf9dce5b9 /service
parent883c84bdb95b0374e4f4ea2238b2288787547897 (diff)
downloadinfinitytier-a994573a436ec2835781d13ecd2307e18c67855b.tar.gz
infinitytier-a994573a436ec2835781d13ecd2307e18c67855b.zip
Eliminate some more dead code. We may do path trust, but not like that.
Diffstat (limited to 'service')
-rw-r--r--service/OneService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 4e3f24c7..8c8ff1ed 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)),ZT_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL);
+ _node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&(*ext)));
#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),ZT_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL);
+ _node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&ip));
}
}
ifa = ifa->ifa_next;