浏览代码

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

Add a warning about missing DNS functionality on Linux
Adam Ierymenko 6 天之前
父节点
当前提交
f754d716d0
共有 1 个文件被更改,包括 1 次插入0 次删除
  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: