From 569c5e77fdd247f59d48d1732dbea6a69bc7d6b3 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 28 Jul 2015 14:48:26 -0700 Subject: Add binary build of libminiupnpc for Mac x64. --- service/OneService.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'service/OneService.cpp') 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 upnpAddresses(_upnpClient.get()); - for(std::vector::const_iterator ext(upnpAddresses.begin());ext!=upnpAddresses.end();++ext) { - printf("Adding UPNP address: %s\n",ext->toString().c_str()); + for(std::vector::const_iterator ext(upnpAddresses.begin());ext!=upnpAddresses.end();++ext) _node->addLocalInterfaceAddress(reinterpret_cast(&(*ext)),0,ZT1_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL); - } #endif struct ifaddrs *ifatbl = (struct ifaddrs *)0; -- cgit v1.2.3