Browse Source

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

Add a warning about missing DNS functionality on Linux
Adam Ierymenko 6 days ago
parent
commit
f754d716d0
1 changed files with 1 additions and 0 deletions
  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: