Browse Source

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

Add a warning about missing DNS functionality on Linux
pull/4/head
Adam Ierymenko 6 months ago committed by GitHub
parent
commit
f754d716d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      osdep/LinuxEthernetTap.hpp

1
osdep/LinuxEthernetTap.hpp

@ -54,6 +54,7 @@ class LinuxEthernetTap : public EthernetTap {
virtual void setMtu(unsigned int mtu); virtual void setMtu(unsigned int mtu);
virtual void setDns(const char* domain, const std::vector<InetAddress>& servers) 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: private:

Loading…
Cancel
Save