From 92d9ad4a7fb196011eab589fb6790b55c11731f5 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 6 Aug 2014 16:24:30 -0700 Subject: Some tap interface changes and integration into main.cpp for *nix systems. --- osnet/WindowsEthernetTap.cpp | 5 +++++ osnet/WindowsEthernetTap.hpp | 1 + 2 files changed, 6 insertions(+) (limited to 'osnet') 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 &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 &groups); + virtual bool createPseudoDefaultRoute() const; inline const NET_LUID &luid() const { return _deviceLuid; } inline const GUID &guid() const { return _deviceGuid; } -- cgit v1.2.3