diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index b525895bd..ad1db6244 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -585,7 +585,7 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpGET( responseBody.reserve((members.size() + 2) * 32); std::string mid; for(auto member=members.begin();member!=members.end();++member) { - mid = (*member)["id"]; + mid = OSUtils::jsonString((*member)["id"], ""); char tmp[128]; OSUtils::ztsnprintf(tmp,sizeof(tmp),"%s\"%s\":%llu",(responseBody.length() > 1) ? "," : "",mid.c_str(),(unsigned long long)OSUtils::jsonInt((*member)["revision"],0)); responseBody.append(tmp); diff --git a/osdep/WindowsEthernetTap.cpp b/osdep/WindowsEthernetTap.cpp index fb4b498d1..60421198a 100644 --- a/osdep/WindowsEthernetTap.cpp +++ b/osdep/WindowsEthernetTap.cpp @@ -1290,4 +1290,9 @@ void WindowsEthernetTap::_syncIps() } } +void WindowsEthernetTap::setDns(const char* domain, const std::vector& servers) +{ + +} + } // namespace ZeroTier diff --git a/osdep/WindowsEthernetTap.hpp b/osdep/WindowsEthernetTap.hpp index ea08b2fc0..c03c1e414 100644 --- a/osdep/WindowsEthernetTap.hpp +++ b/osdep/WindowsEthernetTap.hpp @@ -97,6 +97,7 @@ public: virtual void setFriendlyName(const char *friendlyName); virtual void scanMulticastGroups(std::vector &added,std::vector &removed); virtual void setMtu(unsigned int mtu); + virtual void setDns(const char* domain, const std::vector &servers); inline const NET_LUID &luid() const { return _deviceLuid; } inline const GUID &guid() const { return _deviceGuid; } diff --git a/windows/ZeroTierOne/ZeroTierOne.vcxproj b/windows/ZeroTierOne/ZeroTierOne.vcxproj index a91ed7d1a..6759bebf7 100644 --- a/windows/ZeroTierOne/ZeroTierOne.vcxproj +++ b/windows/ZeroTierOne/ZeroTierOne.vcxproj @@ -33,7 +33,6 @@ - @@ -51,6 +50,8 @@ + + MaxSpeed MaxSpeed @@ -135,7 +136,6 @@ - @@ -162,6 +162,8 @@ + + @@ -240,6 +242,7 @@ true v142 MultiByte + false Application diff --git a/windows/ZeroTierOne/ZeroTierOne.vcxproj.filters b/windows/ZeroTierOne/ZeroTierOne.vcxproj.filters index 78e088c73..d2aba50dc 100644 --- a/windows/ZeroTierOne/ZeroTierOne.vcxproj.filters +++ b/windows/ZeroTierOne/ZeroTierOne.vcxproj.filters @@ -264,9 +264,6 @@ Source Files\controller - - Source Files\controller - Source Files\controller @@ -276,6 +273,12 @@ Source Files\osdep + + Source Files\node + + + Source Files\node + @@ -515,9 +518,6 @@ Header Files\controller - - Header Files\controller - Header Files\controller @@ -530,6 +530,12 @@ Header Files\osdep + + Header Files\node + + + Header Files\node +