summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 14:48:26 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 14:48:26 -0700
commit569c5e77fdd247f59d48d1732dbea6a69bc7d6b3 (patch)
tree67c2177b4b959e91c5b63c8ce87ff8f8e71438dc /service
parent9c87decba68189fec02c50439fc4fed89f7328f3 (diff)
downloadinfinitytier-569c5e77fdd247f59d48d1732dbea6a69bc7d6b3.tar.gz
infinitytier-569c5e77fdd247f59d48d1732dbea6a69bc7d6b3.zip
Add binary build of libminiupnpc for Mac x64.
Diffstat (limited to 'service')
-rw-r--r--service/OneService.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 05fdfb90..06e37a45 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -584,10 +584,8 @@ public:
#ifdef ZT_USE_MINIUPNPC
std::vector<InetAddress> upnpAddresses(_upnpClient.get());
- for(std::vector<InetAddress>::const_iterator ext(upnpAddresses.begin());ext!=upnpAddresses.end();++ext) {
- printf("Adding UPNP address: %s\n",ext->toString().c_str());
+ for(std::vector<InetAddress>::const_iterator ext(upnpAddresses.begin());ext!=upnpAddresses.end();++ext)
_node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&(*ext)),0,ZT1_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL);
- }
#endif
struct ifaddrs *ifatbl = (struct ifaddrs *)0;