From 137d05e79902f9ddabc148701c77d4f7a5f7ceaa Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Wed, 12 Aug 2020 09:14:10 -0700 Subject: [PATCH] add setDNS stubs for linux/bsd --- osdep/BSDEthernetTap.hpp | 1 + osdep/LinuxEthernetTap.hpp | 1 + osdep/NetBSDEthernetTap.hpp | 1 + 3 files changed, 3 insertions(+) diff --git a/osdep/BSDEthernetTap.hpp b/osdep/BSDEthernetTap.hpp index d99cebef3..134168176 100644 --- a/osdep/BSDEthernetTap.hpp +++ b/osdep/BSDEthernetTap.hpp @@ -54,6 +54,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) {} void threadMain() throw(); diff --git a/osdep/LinuxEthernetTap.hpp b/osdep/LinuxEthernetTap.hpp index 7503c5231..58c75f709 100644 --- a/osdep/LinuxEthernetTap.hpp +++ b/osdep/LinuxEthernetTap.hpp @@ -54,6 +54,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) {} void threadMain() throw(); diff --git a/osdep/NetBSDEthernetTap.hpp b/osdep/NetBSDEthernetTap.hpp index 534712e45..9c00c0e25 100644 --- a/osdep/NetBSDEthernetTap.hpp +++ b/osdep/NetBSDEthernetTap.hpp @@ -53,6 +53,7 @@ public: virtual std::string deviceName() const; virtual void setFriendlyName(const char *friendlyName); virtual void scanMulticastGroups(std::vector &added,std::vector &removed); + virtual void setDns(const char *domain, const std::vector &servers) {} void threadMain() throw();