summaryrefslogtreecommitdiff
path: root/osnet
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-06 16:24:30 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-06 16:24:30 -0700
commit92d9ad4a7fb196011eab589fb6790b55c11731f5 (patch)
treef2cd78f9e2dfa78b5ac8cbd66b60ccf044d43cd6 /osnet
parent8a804b52571d28ce53bc4e75300794332357409c (diff)
downloadinfinitytier-92d9ad4a7fb196011eab589fb6790b55c11731f5.tar.gz
infinitytier-92d9ad4a7fb196011eab589fb6790b55c11731f5.zip
Some tap interface changes and integration into main.cpp for *nix systems.
Diffstat (limited to 'osnet')
-rw-r--r--osnet/WindowsEthernetTap.cpp5
-rw-r--r--osnet/WindowsEthernetTap.hpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/osnet/WindowsEthernetTap.cpp b/osnet/WindowsEthernetTap.cpp
index 02b902d0..16fc72d6 100644
--- a/osnet/WindowsEthernetTap.cpp
+++ b/osnet/WindowsEthernetTap.cpp
@@ -516,6 +516,11 @@ bool WindowsEthernetTap::updateMulticastGroups(std::set<MulticastGroup> &groups)
return changed;
}
+bool WindowsEthernetTap::createPseudoDefaultRoute() const
+{
+ return true;
+}
+
void WindowsEthernetTap::threadMain()
throw()
{
diff --git a/osnet/WindowsEthernetTap.hpp b/osnet/WindowsEthernetTap.hpp
index 516601bc..71ec2ce2 100644
--- a/osnet/WindowsEthernetTap.hpp
+++ b/osnet/WindowsEthernetTap.hpp
@@ -71,6 +71,7 @@ public:
virtual std::string deviceName() const;
virtual void setFriendlyName(const char *friendlyName);
virtual bool updateMulticastGroups(std::set<MulticastGroup> &groups);
+ virtual bool createPseudoDefaultRoute() const;
inline const NET_LUID &luid() const { return _deviceLuid; }
inline const GUID &guid() const { return _deviceGuid; }