Explorar o código

Merge pull request #2493 from jfly/add-warning-about-allowDNS-on-linux

Add a warning about missing DNS functionality on Linux
Adam Ierymenko hai 6 días
pai
achega
f754d716d0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      osdep/LinuxEthernetTap.hpp

+ 1 - 0
osdep/LinuxEthernetTap.hpp

@@ -54,6 +54,7 @@ class LinuxEthernetTap : public EthernetTap {
 	virtual void setMtu(unsigned int mtu);
 	virtual void setDns(const char* domain, const std::vector<InetAddress>& servers)
 	{
+		fprintf(stderr, "WARNING: ignoring call to LinuxEthernetTap::setDns on Linux. This is not implemented yet. See https://github.com/zerotier/ZeroTierOne/issues/2492 for details" ZT_EOL_S);
 	}
 
   private: