mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 18:48:36 -07:00
Some tap interface changes and integration into main.cpp for *nix systems.
This commit is contained in:
parent
8a804b5257
commit
92d9ad4a7f
4 changed files with 55 additions and 3 deletions
|
@ -516,6 +516,11 @@ bool WindowsEthernetTap::updateMulticastGroups(std::set<MulticastGroup> &groups)
|
|||
return changed;
|
||||
}
|
||||
|
||||
bool WindowsEthernetTap::createPseudoDefaultRoute() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void WindowsEthernetTap::threadMain()
|
||||
throw()
|
||||
{
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue