Route management now works on Windows, including default route override! 1.1.6 very close!

This commit is contained in:
Adam Ierymenko 2016-06-21 13:54:03 -07:00
parent 5b2d2efb45
commit 4f237687ce
4 changed files with 106 additions and 2 deletions

View file

@ -861,6 +861,14 @@ void WindowsEthernetTap::scanMulticastGroups(std::vector<MulticastGroup> &added,
_multicastGroups.swap(newGroups);
}
NET_IFINDEX WindowsEthernetTap::interfaceIndex() const
{
NET_IFINDEX idx = -1;
if (ConvertInterfaceLuidToIndex(&_deviceLuid,&idx) == NO_ERROR)
return idx;
return -1;
}
void WindowsEthernetTap::threadMain()
throw()
{