summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2015-07-06 17:36:58 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2015-07-06 17:36:58 -0700
commit91fa643131fea5ace3daff6b42b9af7d25db5464 (patch)
tree7318cfc4aebe7c2f3f743cfb5d14ce2baff995af
parent6da9d2d36f5313848d35a4850aaf0f3c5f11d98b (diff)
downloadinfinitytier-91fa643131fea5ace3daff6b42b9af7d25db5464.tar.gz
infinitytier-91fa643131fea5ace3daff6b42b9af7d25db5464.zip
Minor fix to Windows local adapter address enumeration.
-rw-r--r--service/OneService.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 527ac1b0..6f6eabe2 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -645,6 +645,7 @@ public:
case InetAddress::IP_SCOPE_SHARED:
case InetAddress::IP_SCOPE_GLOBAL:
ip.setPort(_port);
+ printf("found %s on %S\r\n",ip.toString().c_str(),a->FriendlyName);
_node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&ip),0,ZT1_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL,0);
break;
default: