mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-29 15:43:52 +00:00
Minor fix to Windows local adapter address enumeration.
This commit is contained in:
parent
6da9d2d36f
commit
91fa643131
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user